summaryrefslogtreecommitdiff
path: root/config/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/scripts')
-rw-r--r--config/scripts/LIESMICH.Scripts62
-rwxr-xr-xconfig/scripts/radioinfo-1093-54127
-rwxr-xr-xconfig/scripts/radioinfo-1093-55131
-rwxr-xr-xconfig/scripts/radioinfo-1093-551.utf830
-rwxr-xr-xconfig/scripts/radioinfo-1093-84125
-rwxr-xr-xconfig/scripts/radioinfo-1093-85126
-rwxr-xr-xconfig/scripts/radioinfo-1113-102426
-rwxr-xr-xconfig/scripts/radioinfo-1113-1024.utf825
-rwxr-xr-xconfig/scripts/radioinfo-1113-103024
-rwxr-xr-xconfig/scripts/radioinfo-1113-103625
-rwxr-xr-xconfig/scripts/radioinfo-1113-1036.utf824
-rwxr-xr-xconfig/scripts/radioinfo-1113-35327
-rwxr-xr-xconfig/scripts/radioinfo-1113-35429
-rwxr-xr-xconfig/scripts/radioinfo-1113-354.utf827
-rwxr-xr-xconfig/scripts/radioinfo-1115-43327
-rwxr-xr-xconfig/scripts/radioinfo-15027-512027
-rwxr-xr-xconfig/scripts/radioinfo-7-30427
-rwxr-xr-xconfig/scripts/radioinfo-7-304.utf826
-rwxr-xr-xconfig/scripts/radioinfo-7-33627
-rwxr-xr-xconfig/scripts/radioinfo-7-35224
-rwxr-xr-xconfig/scripts/radioinfo-8500-21424
21 files changed, 590 insertions, 0 deletions
diff --git a/config/scripts/LIESMICH.Scripts b/config/scripts/LIESMICH.Scripts
new file mode 100644
index 0000000..8038518
--- /dev/null
+++ b/config/scripts/LIESMICH.Scripts
@@ -0,0 +1,62 @@
+vdr-radio plugin: externe script-files
+--------------------------------------
+
+Externe Script- oder Programm-Files haben die Funktion, falls im plugin-Setup
+aktiviert (Externe Info-Abfrage = ja), fehlende Songinfos über externe Quellen
+wie Internetabfragen zu holen.
+
+Das Script/Programm muß hierfür im Plugin-Config-Verzeichnis existieren
+($VDRCONFIG/plugins/radio, beachte auch plugin-Startparameter '-f <DIR>'),
+für den vdr ausführbar sein und die folgende Namenssyntax aufweisen:
+
+ radioinfo-TID-APID
+ (wobei TID = channel-TID, APID = 1.AudioPid entspr. der vdr channels.conf)
+
+Das Script/Programm wird dann mit 1 Parameter = Dateiname Ausgabedatei im
+Datenverzeichnis ($VDRCONFIG/plugins/radio, beachte auch plugin-Parameter -d <DIR>)
+aufgerufen; die Ausgabedatei soll dann Textzeilen im folgendem Format enthalten:
+
+ 1.Zeile = Senderkennung
+ 2.Zeile = Interpret
+ 3.Zeile = Titel
+
+Wenn die Sender zeitweise keine Songinfos anzeigen (z.B. Fritz) sollte
+Interpret und/oder Titel solange mit z.B. "---" gesetzt werden, da sonst
+bei leeren Informationen ein "Error, no Songinfo" im OSD angezeigt wird.
+
+
+Folgende Script-Beispiele (www-Abfragen) werden mitgeliefert
+(die Programme bash/wget/grep sowie teilw. tail/tac/iconv werden benötigt):
+
+ [Astra 19.2]
+ - Rockantenne = radioinfo-7-304
+ - sunshine live = radioinfo-7-336
+ - Antenne Bayern = radioinfo-7-352
+ - radio top40 = radioinfo-1113-353
+ - ffn digital = radioinfo-1113-354
+ - Hit Radio FFH = radioinfo-1113-1024
+ - planet radio = radioinfo-1113-1030
+ - harmony.fm = radioinfo-1113-1036
+ - oe3 orf = radioinfo-1115-433
+ - Truckradio = radioinfo-1115-442
+ - MDR Jump = radioinfo-1093-541
+ - SPUTNIK = radioinfo-1093-551
+ - radioeins = radioinfo-1093-841
+ - Fritz = radioinfo-1093-851
+ [Hotbird 13.0]
+ - SRG-DRS 1 = radioinfo-8500-211
+ - SRG-DRS 2 = radioinfo-8500-212
+ - SRG-DRS 3 = radioinfo-8500-213
+ - SRG-DRS Virus = radioinfo-8500-214
+ - Radio Swiss Classic = radioinfo-8500-224
+ - Radio Swiss Pop = radioinfo-8500-225
+ - Radio Swiss Jazz = radioinfo-8500-226
+ [Astra 23.5]
+ - Truckradio = radioinfo-15027-5120
+
+
+Weitere erfolgreich getestete Scripte werden gerne übernommen :-)
+
+
+Viel Spaß...
+Uwe <egal at egal-vdr dot de>
diff --git a/config/scripts/radioinfo-1093-541 b/config/scripts/radioinfo-1093-541
new file mode 100755
index 0000000..bbac81c
--- /dev/null
+++ b/config/scripts/radioinfo-1093-541
@@ -0,0 +1,27 @@
+#!/bin/bash
+# MDR Jump-Playlist
+# $1 = outfile
+
+### Variabel
+Name="MDR Jump [www.jumpradio.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.jumpradio.de/scripts/musik/wsx_vote_recher.cfm?&titelsuche=zeit"
+
+# Artist/Title
+artist=`grep -B30 '<h2>Suche nach Datum und Uhrzeit' /tmp/playlist | tac`
+artist=${artist/*$'">'/}; artist=${artist/$'<'\/'h2>'*/}
+title=`grep -B29 '<h2>Suche nach Datum und Uhrzeit' /tmp/playlist | tac`
+title=${title/*$'">"'/}; title=${title/$'"<'\/'p>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1093-551 b/config/scripts/radioinfo-1093-551
new file mode 100755
index 0000000..5fbbde2
--- /dev/null
+++ b/config/scripts/radioinfo-1093-551
@@ -0,0 +1,31 @@
+#!/bin/bash
+# SPUTNIK-Playlist
+# $1 = outfile
+
+### Variabel
+Name="SPUTNIK [www.sputnik.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist.utf8 "http://www.sputnik.de"
+iconv -s -c -f UTF8 -t ISO8859-1 /tmp/playlist.utf8 -o /tmp/playlist
+
+# Artist/Title
+present=`grep -A7 'class="current_song"' /tmp/playlist | grep -c 'nicht zu ermitteln'`
+if [ $present = 0 ]; then
+ artist=`grep -A7 'class="current_song"*' /tmp/playlist`
+ artist=${artist/*$'"name">'/}; artist=${artist/$'<'\/'p>'*/}
+ title=`grep -A8 'class="current_song"*' /tmp/playlist`
+ title=${title/*$'"title">'/}; title=${title/$'<'\/'p>'*/}
+fi
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1093-551.utf8 b/config/scripts/radioinfo-1093-551.utf8
new file mode 100755
index 0000000..420685b
--- /dev/null
+++ b/config/scripts/radioinfo-1093-551.utf8
@@ -0,0 +1,30 @@
+#!/bin/bash
+# SPUTNIK-Playlist
+# $1 = outfile
+
+### Variabel
+Name="SPUTNIK [www.sputnik.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.sputnik.de"
+
+# Artist/Title
+present=`grep -A7 'class="current_song"' /tmp/playlist | grep -c 'nicht zu ermitteln'`
+if [ $present = 0 ]; then
+ artist=`grep -A7 'class="current_song"*' /tmp/playlist`
+ artist=${artist/*$'"name">'/}; artist=${artist/$'<'\/'p>'*/}
+ title=`grep -A8 'class="current_song"*' /tmp/playlist`
+ title=${title/*$'"title">'/}; title=${title/$'<'\/'p>'*/}
+fi
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1093-841 b/config/scripts/radioinfo-1093-841
new file mode 100755
index 0000000..6f0b9a0
--- /dev/null
+++ b/config/scripts/radioinfo-1093-841
@@ -0,0 +1,25 @@
+#!/bin/bash
+# radioeins-Playlist
+# $1 = outfile
+
+### Variabel
+Name="radioeins [radioeins.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://radioeins.funtip.de/playList.do"
+
+# Artist/Title
+artist=`grep -A17 'summary="Liste der radioeins Musiktitel"*' /tmp/playlist`
+artist=${artist/*$'<td>'/}; artist=${artist/$'<'\/'td>'*/}
+title=`grep -A18 'summary="Liste der radioeins Musiktitel"*' /tmp/playlist`
+title=${title/*$'<td>'/}; title=${title/$'<'\/'td>'*/}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1093-851 b/config/scripts/radioinfo-1093-851
new file mode 100755
index 0000000..0b74297
--- /dev/null
+++ b/config/scripts/radioinfo-1093-851
@@ -0,0 +1,26 @@
+#!/bin/bash
+# Fritz-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Fritz [www.fritz.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.fritz.de/ds/ds.html"
+
+# Artist/Title
+all=`grep -A0 'on air Titel:' /tmp/playlist`
+artist=${all/*$'<span class='\"'titelanzeige'\"'>'/}; artist=${artist/$' - '*/}
+title=${all//*$' - '/}; title=${title/$'<'\/'span>'*/}
+# temp. no Info
+artist=${artist:='...'}; titel=${title:='...'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-1024 b/config/scripts/radioinfo-1113-1024
new file mode 100755
index 0000000..52e4b0f
--- /dev/null
+++ b/config/scripts/radioinfo-1113-1024
@@ -0,0 +1,26 @@
+#!/bin/bash
+# Hit Radio FFH-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Hit Radio FFH [www.ffh.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist.utf8 "http://www.ffh.de/webradio/hitfinder_index.php"
+iconv -c -s -f UTF8 -t ISO8859-1 /tmp/playlist.utf8 -o /tmp/playlist
+
+# Artist/Title
+artist=`grep -A15 '>Datum/Zeit<*' /tmp/playlist`
+artist=${artist//*$'<td>'/}; artist=${artist//$'<'\/'td>'*/}
+title=`grep -A14 '>Datum/Zeit<*' /tmp/playlist`
+title=${title//*$'<td>'/}; title=${title//$'<'\/'td>'*/}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-1024.utf8 b/config/scripts/radioinfo-1113-1024.utf8
new file mode 100755
index 0000000..6a7c2b6
--- /dev/null
+++ b/config/scripts/radioinfo-1113-1024.utf8
@@ -0,0 +1,25 @@
+#!/bin/bash
+# Hit Radio FFH-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Hit Radio FFH [www.ffh.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.ffh.de/webradio/hitfinder_index.php"
+
+# Artist/Title
+artist=`grep -A15 '>Datum/Zeit<*' /tmp/playlist`
+artist=${artist//*$'<td>'/}; artist=${artist//$'<'\/'td>'*/}
+title=`grep -A14 '>Datum/Zeit<*' /tmp/playlist`
+title=${title//*$'<td>'/}; title=${title//$'<'\/'td>'*/}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-1030 b/config/scripts/radioinfo-1113-1030
new file mode 100755
index 0000000..25e5de5
--- /dev/null
+++ b/config/scripts/radioinfo-1113-1030
@@ -0,0 +1,24 @@
+#!/bin/bash
+# PlanetRadio-Playlist
+# $1 = outfile
+
+### Variabel
+Name="planet radio [www.planetradio.de]"
+###
+
+# get...
+wget -q --tries=1 --timeout=10 -O /tmp/playlist "http://www.planetradio.de/p_mt.php"
+
+# Artist/Title
+all=`grep -A1 'die letzten 3 tracks' /tmp/playlist`
+title=${all/*$'<table><tr><td>'????????????????????/}; title=${title/$'<'\/'td>'*/}
+artist=${all//*$'td><td>'/}; artist=${artist/$'<'\/'td>'*/}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-1036 b/config/scripts/radioinfo-1113-1036
new file mode 100755
index 0000000..d58eccd
--- /dev/null
+++ b/config/scripts/radioinfo-1113-1036
@@ -0,0 +1,25 @@
+#!/bin/bash
+# harmony.fm-Playlist
+# $1 = outfile
+
+### Variabel
+Name="harmony.fm [www.harmonyfm.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist.utf8 "http://www.harmonyfm.de/index.php"
+iconv -c -s -f UTF8 -t ISO8859-1 /tmp/playlist.utf8 -o /tmp/playlist
+
+# 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
diff --git a/config/scripts/radioinfo-1113-1036.utf8 b/config/scripts/radioinfo-1113-1036.utf8
new file mode 100755
index 0000000..20a81ac
--- /dev/null
+++ b/config/scripts/radioinfo-1113-1036.utf8
@@ -0,0 +1,24 @@
+#!/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
diff --git a/config/scripts/radioinfo-1113-353 b/config/scripts/radioinfo-1113-353
new file mode 100755
index 0000000..7957b1e
--- /dev/null
+++ b/config/scripts/radioinfo-1113-353
@@ -0,0 +1,27 @@
+#!/bin/bash
+# radio top40-Playlist
+# $1 = outfile
+
+### Variabel
+Name="radio top40 [www.radiotop40.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.radiotop40.de/titel.php"
+
+# Artist/Title
+artist=`grep -A6 '<body' /tmp/playlist`
+artist=${artist/*$'">'/}; artist=${artist/$' - '*/}
+title=`grep -A6 '<body' /tmp/playlist`
+title=${title/*$' - '/}; title=${title/$'<'\/'td>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-354 b/config/scripts/radioinfo-1113-354
new file mode 100755
index 0000000..068aeeb
--- /dev/null
+++ b/config/scripts/radioinfo-1113-354
@@ -0,0 +1,29 @@
+#!/bin/bash
+# ffn digital-Playlist
+# $1 = outfile
+
+### Variabel
+Name="ffn digital [www.ffn.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist.utf8 "http://www.ffn.de/musik/playlist.html"
+iconv -c -s -f UTF8 -t ISO8859-1 /tmp/playlist.utf8 -o /tmp/playlist
+
+# grep actual song
+all=`grep -A6 'wird gerade gespielt' /tmp/playlist`
+
+# Artist/Title
+artist=${all//*$'"artist">'/}; artist=${artist//$'</h3>'*/}
+title=${all//*$'"title">'/}; title=${title//$'</h3>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1113-354.utf8 b/config/scripts/radioinfo-1113-354.utf8
new file mode 100755
index 0000000..00a214b
--- /dev/null
+++ b/config/scripts/radioinfo-1113-354.utf8
@@ -0,0 +1,27 @@
+#!/bin/bash
+# ffn digital-Playlist
+# $1 = outfile
+
+### Variabel
+Name="ffn digital [www.ffn.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.ffn.de/musik/playlist.html"
+# grep actual song
+all=`grep -A6 'wird gerade gespielt' /tmp/playlist`
+
+# Artist/Title
+artist=${all//*$'"artist">'/}; artist=${artist//$'</h3>'*/}
+title=${all//*$'"title">'/}; title=${title//$'</h3>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-1115-433 b/config/scripts/radioinfo-1115-433
new file mode 100755
index 0000000..952cd51
--- /dev/null
+++ b/config/scripts/radioinfo-1115-433
@@ -0,0 +1,27 @@
+#!/bin/bash
+# OE3-Playlist
+# $1 = outfile
+
+### Variabel
+Name="OE3 [oe3.ORF.at]"
+###
+
+# get...
+wget -q --tries=1 --timeout=10 -O /tmp/playlist "http://solutions.orf.at/orf/hitservice/index.cgi?view=tracklist"
+
+# Artist/Title
+title=`grep -A2 'class="playlisttop"' /tmp/playlist`
+title=${title/*$'<b>'/}; title=${title/$'<'\/'b>'*/}
+artist=`grep -A4 'class="playlisttop"' /tmp/playlist`
+artist=${artist/*$' '/}
+# temp. no Info
+artist=${artist:='...'}; titel=${title:='...'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-15027-5120 b/config/scripts/radioinfo-15027-5120
new file mode 100755
index 0000000..bac3bb2
--- /dev/null
+++ b/config/scripts/radioinfo-15027-5120
@@ -0,0 +1,27 @@
+#!/bin/bash
+# Truckradio-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Truckradio [truckradio.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://truckradio.de/truckradio.php"
+
+# Artist/Title
+artist=`grep -A1 '>Was l&auml;uft gerade:' /tmp/playlist`
+artist=${artist/*$'<strong>'/}; artist=${artist/$'<BR>'*/}
+title=`grep -A1 '>Was l&auml;uft gerade:' /tmp/playlist`
+title=${title/*$'<BR>'/}; title=${title/$'<'\/'strong>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-7-304 b/config/scripts/radioinfo-7-304
new file mode 100755
index 0000000..db123ae
--- /dev/null
+++ b/config/scripts/radioinfo-7-304
@@ -0,0 +1,27 @@
+#!/bin/bash
+# Rockantenne-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Rockantenne [www.rockantenne.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist.utf8 "http://www.rockantenne.de/webplayer/#playlist"
+iconv -c -s -f UTF8 -t ISO8859-1 /tmp/playlist.utf8 -o /tmp/playlist
+
+# last Artist/Title
+all=`grep -m1 -A4 'Rock Nonstop' /tmp/playlist`
+all=${all//*$'class="artist">'/}; artist=${all/$'</span>'*/}
+title=${all/*$'class="title">'/}; title=${title/$'</span>'*/}
+# temp. no Info
+artist=${artist:='---'}; title=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-7-304.utf8 b/config/scripts/radioinfo-7-304.utf8
new file mode 100755
index 0000000..a92422e
--- /dev/null
+++ b/config/scripts/radioinfo-7-304.utf8
@@ -0,0 +1,26 @@
+#!/bin/bash
+# Rockantenne-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Rockantenne [www.rockantenne.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.rockantenne.de/webplayer/#playlist"
+
+# last Artist/Title
+all=`grep -m1 -A4 'Rock Nonstop' /tmp/playlist`
+all=${all//*$'class="artist">'/}; artist=${all/$'</span>'*/}
+title=${all/*$'class="title">'/}; title=${title/$'</span>'*/}
+# temp. no Info
+artist=${artist:='---'}; title=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-7-336 b/config/scripts/radioinfo-7-336
new file mode 100755
index 0000000..3128161
--- /dev/null
+++ b/config/scripts/radioinfo-7-336
@@ -0,0 +1,27 @@
+#!/bin/bash
+# sunshione live Playlist
+# $1 = outfile
+
+### Variabel
+Name="sunshine live [www.sunshine-live.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.sunshine-live.de/index.php?id=15"
+
+# Artist/Title
+artist=`grep -A19 'sunshine live - playlist' /tmp/playlist`
+artist=${artist/*$'class="artist">'/}; artist=${artist/$'<'\/'td>'*/}
+title=`grep -A18 'sunshine live - playlist' /tmp/playlist`
+title=${title/*$'class="title">'/}; title=${title/$'<'\/'td>'*/}
+# temp. no Info
+artist=${artist:='---'}; titel=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-7-352 b/config/scripts/radioinfo-7-352
new file mode 100755
index 0000000..7b8eeaa
--- /dev/null
+++ b/config/scripts/radioinfo-7-352
@@ -0,0 +1,24 @@
+#!/bin/bash
+# AntenneBayern-Playlist
+# $1 = outfile
+
+### Variabel
+Name="Antenne Bayern [www.antenne.de]"
+###
+
+# get...
+wget -q --tries=2 --timeout=5 -O /tmp/playlist "http://www.antenne.de/antenne/mediathek/c_titelinfos/aby-big.php"
+
+# Artist/Title
+all=`tail -n 6 /tmp/playlist | tac`
+artist=${all/*$';">'/}; artist=${artist/$'<br>'*/}
+title=${all/*$'<br>'/}; title=${title/$'<'\/'div>'*/}
+
+# write...
+if [ $1 ]; then
+ echo $Name > $1
+ echo $artist >> $1
+ echo $title >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi
diff --git a/config/scripts/radioinfo-8500-214 b/config/scripts/radioinfo-8500-214
new file mode 100755
index 0000000..87a11c8
--- /dev/null
+++ b/config/scripts/radioinfo-8500-214
@@ -0,0 +1,24 @@
+#!/bin/bash
+# SRG-DRS Virus-Playlist
+# $1 = outfile
+
+### Variabel
+Name="SRG-DRS Virus [virus.ch]"
+###
+
+# get.., schnapp dir den neusten Eintrag aus der Liste; schneide ihn zu auf "titel von artist"
+all="`wget --quiet --tries=2 --timeout=5 -O - http://virus.ch/virus/ticker | grep -m1 date | cut -d '>' -f5 | cut -d '<' -f1`"
+
+# Titel, Artist
+title=${all/$' von '*/}
+artist=${all/*$' von '/}
+# temp. no Info
+artist=${artist:='---'}; title=${title:='---'}
+
+# write...
+if [ $1 ]; then
+ echo "$Name" > $1
+ echo "$Song" >> $1
+else
+ echo "$Name: Interpret/Titel = $artist / $title"
+fi