Kodi Community Forum

Full Version: [REQUEST] BBC iPlayer (Video) Plugin or Script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
johnsto Wrote:Could you please try the latest version. I've just committed a fix (hopefully!)

fantastic, it works, thankyou very much. great script

when i listed bbc2 it took about 5 minutes to bring up the list, i dont know if this is a problem or just the way it is, like i said great script.
What exactly is needed to get this running, currently i have the two .py files, and the latest t3ch xbmc build, but when runnning the script I get

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

is invalid syntax ?

http://pastebin.ca/940540
RenZ0R Wrote:What exactly is needed to get this running, currently i have the two .py files, and the latest t3ch xbmc build, but when runnning the script I get

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

is invalid syntax ?

http://pastebin.ca/940540

Nevermind figured out that Id got HTML pages instead of the actual scripts Tongue
joesnose Wrote:fantastic, it works, thankyou very much. great script

when i listed bbc2 it took about 5 minutes to bring up the list, i dont know if this is a problem or just the way it is, like i said great script.

Browsing channels is slow - but that's because the channels have a large number of pages on the BBC iPlayer site, and the script has to go through each one to get a complete list (although you can cancel it whenever you want and it'll show only what it had found up to that point.)

Generally, it's quicker to browse by date, letter, or use the search facility I added in the latest version.
I'm getting problems too. At first I thought the problem might just be the file extension was forgotten so added .py to the end of it and sent it back to the xbox.

It's getting Error invalid syntax on line 2 and quotes the <?php tag.

Is this script to be run on your xbox or a linux server? As in are we doing some server jiggery pokery to pass links to XBMC? Any dependencies from recent XBMC updates (last month and a half or so)?

Thanks for your help folks ;-)
TheBoxMan Wrote:It's getting Error invalid syntax on line 2 and quotes the <?php tag.

PHP tag?! There's no PHP in the script at all. Methinks you downloaded the wrong file or Google Code is delivering the wrong script to you.

These are the files you need:
http://xbmc-iplayer.googlecode.com/svn/trunk/default.py
http://xbmc-iplayer.googlecode.com/svn/trunk/iplayer.py
Have you thought about making the script into something like the movie trailers script?
Or with some help from the xbmc team it might be possible to create it as a script to integrate with video section.
MikeW
paperclipmonkey Wrote:Have you thought about making the script into something like the movie trailers script?
Or with some help from the xbmc team it might be possible to create it as a script to integrate with video section.
MikeW

You mean as a Video Source plugin? That's planned:
http://code.google.com/p/xbmc-iplayer/is...etail?id=4

Should be noted that this script may stop working in the near future as the BBC implement stricter DRM or prevent HTTP MP4 downloads from non-authenticated devices. They said yesterday that the MP4 download hack is a hole they intend to close.
Yeah was reading about them wanting to close it. I'd say they'd have trouble until the iphone sdk is developed. And they've been saying they want to open it up to more phones too, java applet? I'd have thought the worst thing they could do to put us off is to lower the dimensions of the video to something unwatchable on normal tv's.
paperclipmonkey Wrote:Yeah was reading about them wanting to close it. I'd say they'd have trouble until the iphone sdk is developed. And they've been saying they want to open it up to more phones too, java applet? I'd have thought the worst thing they could do to put us off is to lower the dimensions of the video to something unwatchable on normal tv's.

The Apple SDK is out, and I bet the BBC are already either a) working on an iPhone-native app or b) working with Apple to protect their MP4 streams.

More and more phones support MP4 playback (especially high-end ones), so no doubt they'd go for those first - Java applets would not be suitable for video decompression which rules mid and low-range phones out of the equation, as do data charges.

At the moment I'm fairly hesitant about developing the script too far until it's clearer what the BBC plan to do. My plan for the moment is to just ensure it works with what we've got!
I'd say join the BBC backstage mailing list if you havn't already. Very useful place.
BackStage Mailing List
MikeW
Turns out the BBC have now fixed the issue, and so this hack no longer works.
http://news.bbc.co.uk/1/hi/technology/7293988.stm
Weird, in FF with iphone identifier, it still tells me to install the quicktime plugin, and the page source still has references to mp4, so i'd guess they just made the mp4 link harder to get to. Can anyone else see what they've done
Chris Williams comments saying it's still possible to get the MP4 to download with 'a little ingenuity':
http://www.theregister.co.uk/2008/03/13/.../#c_176991
Its been cracked again, and its working Big Grin

http://po-ru.com/diary/bbc-iplayer-fix-hacked-again/