$ bbcradio() { local s;echo "Select a station:";select s in 1 1x 2 3 4 5 6 7 "Asian Network an" "Nations & Local lcl";do break;done;s=($s);mplayer -playlist "http://www.bbc.co.uk/radio/listen/live/r"${s[@]: -1}".asx";}
This command lets you select from 10 different BBC stations. When one is chosen, it streams it with mplayer.
Requires: mplayer with wma support.
by David Winterbottom (codeinthehole.com)
0sem comentários ainda