Doesn't work anymore
A bash script to play high quality BBC streams from the command line, via VLCs cvlc command. It also displays now/next information much quicker than navigating to the bbc website.
Thanks to simoncn and clanger9 at the Linn forums for the stream links and Steve Seear for pointing the way. Also to Tom Scott at the Beeb's radiolabs for the schedule data streams.
$ radio 6
==========================================================================================
Playing BBC Radio 6 Music
16:00 - 18:00 - Jarvis Cocker's Sunday Service
- John Cooper Clarke
John Cooper Clarke sits in on the Sunday Service with two hours of classic nuggets.
Next
* 18:00 - 20:00 Now Playing @6Music
* 20:00 - 22:00 Stuart Maconie's Freak Zone
* 22:00 - 00:00 Don Letts' Culture Clash Radio
* 00:00 - 02:00 Guy Garvey's Finest Hour
==========================================================================================
Bash wget vlc (has to be in single instance mode)
put 'radio' and 'radio_streams' in the same folder, in your path. Make 'radio' executable.
$ radio list
$ radio list [pattern] eg $ radio list scot
or
$ radio [pattern] list eg $ radio w list
$ radio [pattern] eg $ radio 4
$ radio stop
Will not work if VLC is not configured for single-instance mode
radio [pattern] now eg $ radio 1x now
radio [pattern] later eg $ radio R5X later