From a1ee4e419e2cee7ace3fd324a5362d21821c145d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 21 Aug 2018 15:10:29 -0400 Subject: Added script to update internet radio playlist --- bin/Internet.m3u.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 bin/Internet.m3u.sh (limited to 'bin') diff --git a/bin/Internet.m3u.sh b/bin/Internet.m3u.sh new file mode 100755 index 0000000..cda51fe --- /dev/null +++ b/bin/Internet.m3u.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Updates the internet radio playlist for MPD +# Best run from a cronjob + +RUHIT=$(curl -s http://ruhit.fm/player.htm | grep ruhit_56 \ + | sed -e 's/.*="//g;s/".*//g') + +cat < /var/lib/mpd/playlists/Internet.m3u +#EXTM3U + +#EXTINF:-1,CKGN-FM 89.7 (Kapuskasing) +http://stream03.ustream.ca:80/ckgn128.mp3 + +#EXTINF:-1,CHYK-FM 104.1 (Timmins) +http://rubix.wavestreamer.com:8015/stream/1/ + +#EXTINF:-1,CJFO-FM 94.5 (Ottawa) +http://stream03.ustream.ca:8000/cjfofm128.mp3 + +#EXTINF:-1,CINN-FM 99.1 (Hearst) +http://stream03.ustream.ca/cinn128.mp3 + +#EXTINF:-1,CFSF-FM 99.3 (Sturgeon Falls) +http://listenlive.vistaradio.ca/CFSF + +#EXTINF:-1,99.6 Радио Русский Хит +${RUHIT} +EOF -- cgit v1.2.3