New Script (and Plugin) BBC PodRadio
#1
Displays and plays available BBC Podcast and Radio content streams.

Its obviously aimed at UK users, but may interest others.

Script Usage:
1. Pick a DIRECTORY (e.g. Browse Radio by radio stations)

2. Pick a CATEGORY (e.g. BBC 6 Music)

This finds and displays a list of available STREAMS

3. Select a STREAM and playback starts.

Pretty simple but effective.

Also included is a My Music Plugin version (my first Smile ) , which provides the same information without a fancy GUI. This can be found in the installation zip in the plugin folder. You will need a XBMC build from Sept. '07 onwards thats supports Plugins.

PLUGIN INSTALLATION:
====================
1. Create subfolder XBMC\Plugins\music\BBC PodRadio
2. Copy included BBC Podradio\Plugin\default.py to XBMC\Plugins\music\BBC PodRadio\default.py
3. In XBMC My Music, Add Source, Browse to Music Plugins, select BBC PodRadio, OK

PLUGIN USAGE:
=============
1. Goto My Music
2. select plugin to run it

NB. Radio shows are Realmedia streams and as such take a while to initially fill the player cache. Be patient.


I've got a version in the works that's based around WindowXML, but as its my first attempt using that, its not ready yet. (if that means nothing to you, just ignore it)

Any problems let me know.
Cheers.
BBB
Retired from Add-on dev
Reply
#2
Where's the download link Billy?
Reply
#3
Thanks for writing the script it's something I've been wanting for a while. I've noticed a couple of bugs when I run it. There are many links called by the day of the week in the listen again streams when the name of the show should be visible to distinguish between them e.g. 'Jo Wiley - MON' in the Radio One links.

The "Local Radio Stations (40)" in the radio station list doesn't return a further list of stations only a "No Streams Found" dialog.

Also it would be cool if the streams to live radio were available too.
Reply
#4
kpatm Wrote:Where's the download link Billy?

I guess it's this one?
http://www.xbmcscripts.com/index.php?opt...dio%20v1.0
Reply
#5
yes, that's the link.

Johnnyfive: yes I've seen those too. I need to improve the scrapping of the streams page. Will also look at the problem with the 'local radio station' and the possibility of finding the 'live' streams.

cheers for the feedback.

The WindowsXML based version is coming along nicely, animations and skinnable etc. Smile
Retired from Add-on dev
Reply
#6
BBC PodRadio updated to v1.1 available now on www.xbmcscripts.com

Changes:
Improved scrapping of streams, stops some hangs in some instances.
Better displaying or Day Of The Week links.
Added 'Live Radio'.

(plugin also updated with same changes)

cheers
BBB
Retired from Add-on dev
Reply
#7
Thumbs Up 
BBB,

Cracking job! A superb script, works great.

One suggestion/request please...can we have a scrollbar in the main window so we can tell when there are more podcasts available. You can only tell there are more by pressing "down" and seeing if the page scrolls when you get to the bottom.

Apart from that - this script is brilliant - icons, durations, easy selection by genre/station, nice layout... - excellent!!!


Cheers.
Reply
#8
I'm rewriting the script to be WindowXML based (skinnable) and I've added in scrollbars for the Categories (in footer) and the Streams lists. Some nice anims too.

thanks for the feedback.
Retired from Add-on dev
Reply
#9
Great script. But I think the links have changed on the bbc site. I cant seem to run any previous shows. Live works though.

It says: "Download Failed. No Media Link Found".

Be great to have this fixed, I always listen to it. Thanks.
Reply
#10
your right. site change. will work on it asap.

that's the trouble with scraping !

cheers
BBB
Retired from Add-on dev
Reply
#11
Does your script have features not available in the plugin?

If so what. I'm trying to see what other features plugins could use.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#12
Hey guy!

Fantastic script, LOVE IT!

Problem I am having tho, and I had the same problem with the other BBC radio scrapper... It won't play radio 2...? It plays the message from 'the voice of the balls' about the fact you are listening to radio 2.... then dead.. nothing.

Any ideas?

Cheers Undecided

P.s. I can not confirm nor deny that I listen to radio 2.
Reply
#13
I uploaded v2 to xbmcscripts.com last night, might not appear for a couple of days, but will post when it does. It does fix a few stream scrapping problems (among other things like being skinable, self installing Plugin etc)

I'll assume your referring to Live radio (as opposed to the Listen Again) - but your right, some of them have an introduction then stop, others just goto the actual Live feed.
Not sure what to do about that yet.

Being a TOG or TYG no shame mate Wink
Retired from Add-on dev
Reply
#14
Rock on brother.

Rock on.
Reply
#15
ok. sussed the Live Radio only playing the intro clip.
Seems the container .rpm file can contain multiple rtps lines, its acting as a form of playlist.

Quick fix.
Edit default.py

In function playStream()

change the regular expression from
(rtsp://.*?)\?

to be
(rtsp://rmlive.*?)\?

That will just pickup the live feed
Retired from Add-on dev
Reply

Logout Mark Read Team Forum Stats Members Help
New Script (and Plugin) BBC PodRadio2