Listen to online radio

#!/bin/sh
#
# Author: Tim Van Wassenhove <timvw@users.sourceforge.net>
# Update: 2004-05-21 02:50:31
#
# This script allows you to listen to Belgian online radio streams.
#

if [ "$1" == "" ]; then
echo "
[1]   Radio 1
[2]   Radio 2
[3]   Studio Brussel
[4]   Donna
[5]   4FM
[6]   QMusic
[7]   Topradio
[9]   Klara

Enter your choice: "
read choice
else
choice="$1"
fi

case "$choice" in
    1) station="mms://streampower.belgacom.be:1755/radio1high" ;;
    2) station="mms://streampower.belgacom.be:1755/ra2vlbhigh" ;;
    3) station="mms://streampower.belgacom.be:1755/stubruhigh" ;;
    4) station="mms://streampower.belgacom.be:1755/donnahigh" ;;
    5) station="mms://mss.streampower.be/4fmhi" ;;
    6) station="mms://mss.streampower.be/qmusic_ahi" ;;
    7) station="mms://mss.streampower.be/topahi" ;;
    9) station="mms://streampower.belgacom.be:1755/stubruhigh" ;;
    *) echo "Wrong choice!"
    exit
esac

mplayer $station

exit

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>