Get FIP songs metadatas + possibility to update icecast2 stream metadata

Yann Weber d35735cf65 Add a loop mode and an init script 1 year ago
.gitignore 0848820588 Initial commit 1 year ago
COPYING ac7483d5d0 Code cleaning 1 year ago
README.txt 361e4952bd Adding z0x65.red instance in README.txt 1 year ago
conf-sample.ini d35735cf65 Add a loop mode and an init script 1 year ago
fip_current.py d35735cf65 Add a loop mode and an init script 1 year ago
init_script d35735cf65 Add a loop mode and an init script 1 year ago

README.txt

Usage :
-------

./fip_current.py [-c CONFIG.ini] [-u]

#Show current song metadata
./fip_current.py

#Update icecast2 metadata
./fip_current.py -c CONFIG.ini -u

Instances :
-----------

A FIP relay with fip_current.py metadata update
http://zmpd.zered.net:8042/fip-metadata.mp3

Requierments :
--------------

icecast2
python3
python3-requests

Icecast2 configuration sample :
-------------------------------


audio.scdn.arkena.com
80
/11016/fip-midfi128.mp3
/fip-metadata.mp3
0


Crontab :
---------

#Update every minute
* * * * * /path/fip_current.py -uc /path/conf.ini