Do you have an urge to listen to The Archers?
Perhaps you want to catch up on your local regional news?
Dr Who, The Goons or Dads Army episodes?
Listen to masses of great radio programmes?
This is a little screen scraping script that I've been using for a while.
You will need to have installed mplayer and the links text web browser.
Don't worry you can get them from the Puppy Package Manager,
Download and gunzip the following script and welcome to the world of the BBC radio Listen Again service.
Listen Again
Listen Again
- Attachments
-
- listen_again.gz
- Added mp3/ogg file types for recordings
- (4.01 KiB) Downloaded 660 times
BBC
if you want have a look at this site-links to most BBC radio services.
http://www.beebotron.org/index.php?reload
http://www.beebotron.org/index.php?reload
jakfish:
Thanks for the kind words.
As to the gui: I don't have a netbook so I'm guessing a little on this.
However, here are a few ways I've found to access wayward buttons on guis (these all work in JWM).
piteapup:
Yes, I use the excellent beebotron.org site for my screen scraping.
I've gone with using the BBC international offerings, so as to cater for the majority of listeners, however UK citizens can use their own links and/or there are also links for live radio.
Let me know if these would be of interest.
Potong
Thanks for the kind words.
As to the gui: I don't have a netbook so I'm guessing a little on this.
However, here are a few ways I've found to access wayward buttons on guis (these all work in JWM).
- 1) Left click and drag on the window title bar.
2) Hold down Alt and left click and drag anywhere in the window.
3) Middle click (click on the scrollwheel) and drag on the miniature window in the desktop miniatures right of the menu button.
4) Warning Technical Answer: edit the script and hash (#) out any lines that begin "<height>" or "<width>" like so:Code: Select all
gui=$(cat << EOV|sed 's/#.*//' <window title="Listen Again" window_position="1"> <notebook labels="Play|Replay|Config"> <vbox> <hbox> <frame Station/Genre> <vbox> <tree rules_hint="true" exported_column="1" headers_visible="false"> <label>"Stations & Genres |URL|Sequence"</label> #<height>500</height> #<width>200</width> <variable>STATION</variable> <input icon_column="0">list_stations</input> <action signal="button-press-event">enable:OK</action> </tree> <button label="Tune To"> <variable>OK</variable> <visible>disabled</visible> <action signal="button-press-event">refresh:PROGRAMME</action> <action signal="button-press-event">enable:PROGRAMME</action> <action signal="button-press-event">disable:STATION</action> <action signal="button-press-event">disable:OK</action> </button> </vbox> </frame> <vbox> <frame Programmes> <tree stock="gtk-media-play" rules_hint="true" exported_column="1" headers_visible="false"> <label>"Name|URL|Sequence"</label> #<height>500</height> #<width>600</width> <visible>disabled</visible> <variable>PROGRAMME</variable>
piteapup:
Yes, I use the excellent beebotron.org site for my screen scraping.
I've gone with using the BBC international offerings, so as to cater for the majority of listeners, however UK citizens can use their own links and/or there are also links for live radio.
Let me know if these would be of interest.
Potong