blob: 6f35d856ab9c9a8914c8939daa2d7de8a868a839 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
#
# Updates the internet radio playlist for MPD
# Best run from a cronjob
RUHIT=$(curl -s http://ruhit.fm/player.htm | grep ruhit_64 \
| sed -e 's/.*="//g;s/".*//g')
cat <<EOF > /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://stream2.statsradio.com:8050/stream
#EXTINF:-1,CFSF-FM 99.3 (Sturgeon Falls)
http://listenlive.vistaradio.ca/CFSF
#EXTINF:-1,99.6 Радио Русский Хит
${RUHIT}
#EXTINF:-1,WYEP 91.3 (Pittsburgh)
https://ais-sa3.cdnstream1.com/2557_128.mp3
EOF
|