Doesn't work anymore
A ruby script to play high quality BBC streams from the command line, via VLC's cvlc command. It also displays now/next information much quicker than navigating to the bbc website. Basically a rewrite of my Bash BBC Radio script, with improvements. Work in progress..
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.
$ rubio 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
- ruby
- vlc for playing radio (has to be in single instance mode)
Download rubio, make it executable, run.
not working yet
$ rubio list
not working yet
$ rubio list [pattern] eg $ rubio list scot
or
$ rubio [pattern] list eg $ rubio w list
$ rubio [pattern] eg $ rubio 4
$ rubio stop
Will not work if VLC is not configured for single-instance mode
rubio [pattern] now eg $ rubio 1x now
rubio [pattern] later eg $ rubio R5X later