diff options
Diffstat (limited to 'config/scripts/radioinfo-1113-1036.utf8')
-rwxr-xr-x | config/scripts/radioinfo-1113-1036.utf8 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/config/scripts/radioinfo-1113-1036.utf8 b/config/scripts/radioinfo-1113-1036.utf8 deleted file mode 100755 index 20a81ac..0000000 --- a/config/scripts/radioinfo-1113-1036.utf8 +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# harmony.fm-Playlist -# $1 = outfile - -### Variabel -Name="harmony.fm [www.harmonyfm.de]" -### - -# get... -wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.harmonyfm.de/index.php" - -# Artist/Title -all=`grep -A6 'id="channelOnAir"' /tmp/playlist` -artist=${all//*$'<p>'/}; artist=${artist/$' mit '*/} -title=${all//*$' mit '/}; title=${title/$'<'\/'p>'*/} - -# write... -if [ $1 ]; then - echo $Name > $1 - echo $artist >> $1 - echo $title >> $1 -else - echo "$Name: Interpret/Titel = $artist / $title" -fi |