New Script (and Plugin) BBC PodRadio

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TheBoxMan Offline
Fan
Posts: 351
Joined: Jan 2007
Reputation: -10
Rainbow    Post: #41
Infinity Wrote:The ultimate tool on the PC for URL grabbing is 'URL Snooper 2' perhaps this may assist in getting media adresses. As for downloading header files I personally use 'Flashget'

Hope this helps! :-)

Flashget! that's how I used to do it. Been ages since I tried. Had forgotten deep in the murky past.

I'm more trying to get it working from XBMC for my computer illiterate father who I've taught to use XBMC (and he loves it), he's an avid radio 4 listener. His xbox doesn't have too much space for storing files though (default xbox hard disk) so if he wants to fast forward to where he stopped last time downloading to samba would work better.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #42
After you select from the list it uses its link to get the media file from which is reads the actual stream url. So obviously its more practical to resolve after selection.

What might be possible is, once you made the selection and its found the stream url, then to prompt the user to 'Play or Download' ?

I'll give it a try and let you know is that works.

BBB

PS. No its not possible for python to alter buffer sizes

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
TheBoxMan Offline
Fan
Posts: 351
Joined: Jan 2007
Reputation: -10
Rainbow    Post: #43
Thanks BBB! Much appreciated

Myself and my extended family use your plugin/script daily Wink downloading would be a wonderful (and much needed from my father's side) addition. I owe you a drink if you're ever in Edinburgh.
find quote
zezayer Offline
Junior Member
Posts: 10
Joined: Dec 2007
Reputation: 0
Post: #44
Is it just me or is the scraper broken again? - Could be because BBC radio is moving over on to iplayer..

There only seems to be half the Radio 1 Listen again links in the list and they all seem to be broken links. If this isn't just me breaking my xbox could you fix it again for us BBB? Ta Big Grin
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #45
unfortunately, your right about the stations moving to the iPlayer.

the script scrapes the page ( http://www.bbc.co.uk/radio/aod/index_noframes.shtml ) for links depending on category, as you can see from this excerpt, several stations have now been commented out:

Code:
<div class="box"><h2>CHOOSE A RADIO STATION</h2></div>
<ul>
<!--<li><a href="/radio/aod/networks/1xtra/audiolist.shtml" target="shows">1Xtra</a></li>-->
<!--<li><a href="/radio/aod/networks/6music/audiolist.shtml" target="shows">6 Music</a></li>-->
<!--<li><a href="/radio/aod/networks/asiannet/audiolist.shtml" target="shows">Asian Network</a></li>-->
<li><a href="/radio/aod/networks/bbc7/audiolist.shtml" target="shows">BBC 7</a></li>
<!--<li><a href="/radio/aod/networks/radio1/audiolist.shtml" target="shows">Radio 1</a></li>-->
<!--<li><a href="/radio/aod/networks/radio2/audiolist.shtml" target="shows">Radio 2</a></li>-->
<li><a href="/radio/aod/networks/radio3/audiolist.shtml" target="shows">Radio 3</a></li>

<li><a href="/radio/aod/networks/radio4/audiolist.shtml" target="shows">Radio 4</a></li>
<!--<li><a href="/radio/aod/networks/fivelive/audiolist.shtml" target="shows">Five Live</a></li>-->
<!--<li><a href="/radio/aod/networks/sportsextra/audiolist.shtml" target="shows">Five Live Sports Extra</a></li>-->
<li><a href="/radio/aod/networks/wservice/audiolist.shtml" target="shows">World Service</a></li>
<li><a href="/radio/aod/networks/cymru/audiolist.shtml" target="shows">Radio Cymru</a></li>
<!-- <li><a href="/radio/aod/networks/foyle/audiolist.shtml" target="shows">Radio Foyle</a></li> -->
<li><a href="/radio/aod/networks/nangaidheal/audiolist.shtml" target="shows">Radio nan Gaidheal</a></li>
<!-- <li><a href="/radio/aod/networks/scotland/audiolist.shtml" target="shows">Radio Scotland</a></li> -->
<li><a href="/radio/aod/networks/ulster/audiolist.shtml" target="shows">Radio Ulster</a></li>
<!-- <li><a href="/radio/aod/networks/wales/audiolist.shtml" target="shows">Radio Wales</a></li> -->
<li><a href="/radio/aod/networks/localradio/list.shtml" target="shows">Local Radio Stations (40)</a></li>

</ul>

but there is an iPlayer script ...

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
wyild1 Offline
Senior Member
Posts: 179
Joined: Jan 2007
Reputation: 0
Post: #46
BigBellyBilly Wrote:but there is an iPlayer script ...

But isnt that only for the UK? Is this plugin dead? Sad i really liked it
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #47
not dead, have been working on it recently, cleaning out the dead feeds, fixing some stuff and adding in more skin support.
Will let you know when its done.

BBB

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
TheBoxMan Offline
Fan
Posts: 351
Joined: Jan 2007
Reputation: -10
Rainbow    Post: #48
Glad to hear work continues. This has got to be one of the things myself and my extended family use most often. We're all radio 4 listeners ;-)

(oh and to any radio 4 listeners who haven't already done it check out BBC Radio 7. It's another great talking radio station. Plays a lot of dramas and plays - including some of he great older stuff that the BBC's done - it's on the script obviously for those of us who don't have a DAB ;-) )

Anyways, thanks again bro.

Oh and if you can divine some way to copy the .rm files (not the .ram - the actual audio files) to the xbox or a samba share to listen to later I'd be extremely greatful. I don't always have time to listen to some parts of audiodrama's I'm listening to and would like the ability to store some programs for listening to when I have more time).

It can be done via windows with flashget - and I assume the xbox must resolve the exact media location at some point....though possibly this is done by XBMC itself and not your plugin/script?

Anyway thanks again BBB for helping make XBMC as jaw-droppingly awesome as it undoubtedly is Wink
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #49
revised code (also Atlantis compatible) is ok for release now, but unfortunatly the python url libs don't support the rtsp protocol , so a .ra (discovered from .ram) can't be saved.
(NB Saving is obviously different to giving the .ra url to the mplayer.)

The script does allow you to save any that are .mp3 based for later playback.
Quite a lot of streams have gone as they've been moved to using the iPlayer, which is covered with another script. Script now filters out those streams.

Just fine tuning the PM3.HD skin. then I'll release it shortly.

BBB

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
TheBoxMan Offline
Fan
Posts: 351
Joined: Jan 2007
Reputation: -10
Wink    Post: #50
Sweet. Thanks BBB. Guess we can't win them all with the python lib.

I'll look forward to the release. And a big thanks from myself, and the whole of my exteneded family. Wink
find quote
Post Reply