Author |
Message |
potong
Joined: 06 Mar 2009 Posts: 88
|
Posted: Wed 21 Apr 2010, 12:18 Post subject:
Listen Again Subject description: Easy gui for Beeb radio listeners everywhere |
|
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.
Description |
Added mp3/ogg file types for recordings
|

Download |
Filename |
listen_again.gz |
Filesize |
4.01 KB |
Downloaded |
746 Time(s) |
|
Back to top
|
|
 |
potong
Joined: 06 Mar 2009 Posts: 88
|
Posted: Sat 24 Apr 2010, 07:35 Post subject:
|
|
Added mp3/ogg filetypes for recordings.
Now you can save programmes to your mp3 player i.e. most phones!
Potong
|
Back to top
|
|
 |
jakfish
Joined: 18 Jul 2008 Posts: 766
|
Posted: Sat 24 Apr 2010, 16:14 Post subject:
|
|
I tried this out. Works nicely on Puppeee 4.3 Beta. Not my cup of tea, the actual list of programs, but I'm amazed at the set-up.
Many thanks for your hard work,
Jake
|
Back to top
|
|
 |
jakfish
Joined: 18 Jul 2008 Posts: 766
|
Posted: Sun 25 Apr 2010, 23:26 Post subject:
|
|
I don't know how interested you are in playing the gui, but it's a little big for a netbook screen (8.9"). It takes a lot of window moving to access Tune and other keys.
FWIW,
Jake
|
Back to top
|
|
 |
piteapup

Joined: 13 Aug 2009 Posts: 35 Location: pitea-sweden
|
Posted: Mon 26 Apr 2010, 01:48 Post subject:
BBC Subject description: BBC radio |
|
if you want have a look at this site-links to most BBC radio services.
http://www.beebotron.org/index.php?reload
|
Back to top
|
|
 |
potong
Joined: 06 Mar 2009 Posts: 88
|
Posted: Mon 26 Apr 2010, 05:22 Post subject:
|
|
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).
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: | 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>
|
If you try the last option (which should drastically reduce the size of the gui) and find it still usable, please let me know and I'll amend the script and add this into the config.
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
|
Back to top
|
|
 |
|