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.

23 lines
459 B

#!/bin/sh
# Do we have config file?
if [ ! -e stream_loooooops-config.xml ]
then
echo ":( write an ezstream config file plz"
fi
# We keep trying to read the playlist
# it could take some time for the download script to
# generate one the first time
while true
do
if [ -e playlist_loooooops.m3u ]
then
echo ":) playlist found"
ezstream -c stream_loooooops-config.xml
else
echo ":( playlist not found, trying again"
sleep 2s
fi
done