Update icecast2 FIP relay using HTTP/Json API http://zmpd.zered.net:8042/fip-metadata.mp3
Find a file
Yann Weber bcafd50a3d From Python to shell script
- 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)
2019-01-08 02:26:50 +01:00
.gitignore Initial commit 2016-05-28 12:54:49 +02:00
COPYING Code cleaning 2016-05-29 02:26:50 +02:00
fip_current.sh From Python to shell script 2019-01-08 02:26:50 +01:00
init_script From Python to shell script 2019-01-08 02:26:50 +01:00
README.txt From Python to shell script 2019-01-08 02:26:50 +01:00

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>