Update icecast2 FIP relay using HTTP/Json API http://zmpd.zered.net:8042/fip-metadata.mp3
python
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Yann Weber bcafd50a3d From Python to shell script 5 年前
.gitignore Initial commit 8 年前
COPYING Code cleaning 8 年前
README.txt From Python to shell script 5 年前
fip_current.sh From Python to shell script 5 年前
init_script From Python to shell script 5 年前

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>