Add config files

This commit is contained in:
Dusk 2021-10-10 13:08:56 +02:00
parent 8d4a6c8495
commit e52464bacf
6 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,16 @@
[Unit]
Description=Launch Ezstream and update its config file
After=icecast.service
[Service]
Type=simple
User=strange
ExecStart=/home/strange/External/Cast/start-ezstream.sh
TimeoutSec=60
StandardOutput=syslog
StandardOutput=syslog
SyslogIdentifier=ezstream
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,29 @@
<ezstream>
<servers>
<server>
<hostname>:)</hostname>
<password>:)</password>
</server>
</servers>
<streams>
<stream>
<mountpoint>/dancin.mp3</mountpoint>
<public>No</public>
<format>MP3</format>
</stream>
</streams>
<intakes>
<intake>
<type>playlist</type>
<filename>/home/strange/External/Cast/Dancin'.m3u</filename>
<shuffle>True</shuffle>
</intake>
</intakes>
</ezstream>

View File

@ -0,0 +1,29 @@
<ezstream>
<servers>
<server>
<hostname>:0</hostname>
<password>:0</password>
</server>
</servers>
<streams>
<stream>
<mountpoint>/doomin.mp3</mountpoint>
<public>No</public>
<format>MP3</format>
</stream>
</streams>
<intakes>
<intake>
<type>playlist</type>
<filename>/home/strange/External/Cast/Doomin'.m3u</filename>
<shuffle>True</shuffle>
</intake>
</intakes>
</ezstream>

View File

@ -0,0 +1,29 @@
<ezstream>
<servers>
<server>
<hostname>:/</hostname>
<password>:/</password>
</server>
</servers>
<streams>
<stream>
<mountpoint>/funkin.mp3</mountpoint>
<public>No</public>
<format>MP3</format>
</stream>
</streams>
<intakes>
<intake>
<type>playlist</type>
<filename>/home/strange/External/Cast/Funkin'.m3u</filename>
<shuffle>True</shuffle>
</intake>
</intakes>
</ezstream>

View File

@ -0,0 +1,29 @@
<ezstream>
<servers>
<server>
<hostname>tonpare</hostname>
<password>tamare</password>
</server>
</servers>
<streams>
<stream>
<mountpoint>/gazin.mp3</mountpoint>
<public>No</public>
<format>MP3</format>
</stream>
</streams>
<intakes>
<intake>
<type>playlist</type>
<filename>/home/strange/External/Cast/Gazin'.m3u</filename>
<shuffle>True</shuffle>
</intake>
</intakes>
</ezstream>

13
radio-config/start-ezstream.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env sh
base="/home/strange/External/Cast"
for cadena in $base/Cadenes/*; do
find -L "$cadena" -name *.mp3 > $base/"$(basename $cadena)".m3u
done
ezstream -v -c ~/.config/ezstream/dancin.xml &
ezstream -v -c ~/.config/ezstream/funkin.xml &
ezstream -v -c ~/.config/ezstream/doomin.xml &
ezstream -v -c ~/.config/ezstream/gazin.xml