radio-looptober

somehow downloads looptober mp3 files and make a radio out of them
git clone https://git.lurk.org/repos/radio-looptober.git
Log | Files | Refs | README | LICENSE | TODO

commit bb9fd148b4ce74555df1b1d20468aec003040f37
parent 7c181043657e3ac254531cf1f640d5da319350b8
Author: ugrnm <ultrageranium@bleu255.com>
Date:   Sun Oct  9 16:17:01 +0200

basic streaming script
Diffstat:
stream_loooooops.sh | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/stream_loooooops.sh b/stream_loooooops.sh
@@ -0,0 +1,22 @@
+#!/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