Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Nov 2014, 22:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Listen Again
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
potong

Joined: 06 Mar 2009
Posts: 88

PostPosted: Wed 21 Apr 2010, 12:18    Post_subject:  Listen Again
Sub_title: 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.
listen_again.gz
Description  Added mp3/ogg file types for recordings
gz

 Download 
Filename  listen_again.gz 
Filesize  4.01 KB 
Downloaded  397 Time(s) 
Back to top
View user's profile Send_private_message 
potong

Joined: 06 Mar 2009
Posts: 88

PostPosted: 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
View user's profile Send_private_message 
jakfish

Joined: 18 Jul 2008
Posts: 757

PostPosted: 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
View user's profile Send_private_message 
jakfish

Joined: 18 Jul 2008
Posts: 757

PostPosted: 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
View user's profile Send_private_message 
piteapup


Joined: 13 Aug 2009
Posts: 35
Location: pitea-sweden

PostPosted: Mon 26 Apr 2010, 01:48    Post_subject: BBC
Sub_title: 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
View user's profile Send_private_message 
potong

Joined: 06 Mar 2009
Posts: 88

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0644s ][ Queries: 13 (0.0132s) ][ GZIP on ]