Made to send now-playing data from Rhythmbox3 to Icecast2
- Clone the repo:
~/ $
git clone https://github.com/151henry151/mprisevent.git
- Change into the project directory:
~/ $
cd mprisevent
- Create a venv:
~/mprisevent $
python3 -m venv env
- Activate the venv:
~/mprisevent $
source ./env/bin/activate
- Install dependencies:
~/mprisevent $
python -m pip install .
mprisevent.py [-h] url username password
url must include port and full path to metadata source
example:
~/mprisevent/mprisevent $
python mprisevent.py "http://123.45.67.89:1234/admin/metadata" "admin" "password1234"
Note that nothing will print to the terminal until the next song change. Note that this will not work in conjunction with ogg Vorbis format streams on Icecast2.