Update icecast2 FIP relay using HTTP/Json API http://zmpd.zered.net:8042/fip-metadata.mp3
python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Weber bcafd50a3d From Python to shell script 5 years ago
.gitignore Initial commit 7 years ago
COPYING Code cleaning 7 years ago
README.txt From Python to shell script 5 years ago
fip_current.sh From Python to shell script 5 years ago
init_script From Python to shell script 5 years ago

README.txt

Usage :
-------

Edit the script to change the value of :
host -> icecast2 host & port
mount -> mountpoint name
login -> icecast2 login
passwd -> icecast2 password

Then run :
./fip_current.sh

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

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

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

icecast2
jq
curl
sed

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

<relay>
<server>audio.scdn.arkena.com</server>
<port>80</port>
<mount>/11016/fip-midfi128.mp3</mount>
<local-mount>/fip-metadata.mp3</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>