Code Monkey home page Code Monkey logo

clementine-nostr's Introduction

clementine-nostr

status updates for nostr from clementine music player

install

git clone --recurse-submodules https://github.com/monty888/clementine-nostr.git
cd clementine-nostr  
python3 -m venv venv   
source venv/bin/activate   
pip install -r requirements.txt   
pip install ./monstr

running

In Clementine enable network remote - Preferences/Network Remote.

Run as below either, config options are either taken from toml file currently hardcoded to be at USER/.nostrpy/nostr_track.toml (example included) or from the command line.

python nostr_track.py
python nostr_track.py --help
usage: nostr_track.py [-h] [-r RELAY] [-u USER] [-i CLEMENTINE_IP] [-p CLEMENTINE_PORT] [-a CLEMENTINE_AUTH] [-d]

update nostr status with currently playing track from Clementine music player

options:
  -h, --help            show this help message and exit
  -r RELAY, --relay RELAY
                        comma separated nostr relays to connect to, default[wss://nostr-
                        pub.wellorder.net,wss://nos.lol,wss://relay.nostr.band]
  -u USER, --user USER  alias or nsec of user we're going to publish status updates as default[monty]
  -i CLEMENTINE_IP, --ip CLEMENTINE_IP
                        ip used to connect to clementine, default[192.168.0.30]
  -p CLEMENTINE_PORT, --port CLEMENTINE_PORT
                        port used to connect to clementine, default[5500]
  -a CLEMENTINE_AUTH, --auth CLEMENTINE_AUTH
                        auth code used to connect to clementine, default[12654]
  -d, --debug           enable debug output

clementine-nostr's People

Contributors

monty888 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.