Skip to content

151henry151/mprisevent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mprisevent

MPRIS to HTTP endpoint bridge

Made to send now-playing data from Rhythmbox3 to Icecast2

installation:

  1. Clone the repo:

~/ $ git clone https://github.com/151henry151/mprisevent.git

  1. Change into the project directory:

~/ $ cd mprisevent

  1. Create a venv:

~/mprisevent $ python3 -m venv env

  1. Activate the venv:

~/mprisevent $ source ./env/bin/activate

  1. Install dependencies:

~/mprisevent $ python -m pip install .

usage:

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.

About

MPRIS to HTTP endpoint bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%