Update icecast2 FIP relay using HTTP/Json API
http://zmpd.zered.net:8042/fip-metadata.mp3
- Allowing to run mpd + icecast2 + fip relay with metadatas on a VM with 128Mo of memory. - Calculating when to update (given the end field in the JSON) |
||
|---|---|---|
| .gitignore | ||
| COPYING | ||
| fip_current.sh | ||
| init_script | ||
| 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>