Kodi Community Forum
[RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) (/showthread.php?tid=51322)



RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - forestgreen - 2014-11-03

Off topic I know but, at the same time as the BBC Iplayer add-on stopped working, my ITV Player no longer works with catch up TV. Live channels are fine. I'm using OpenElec 4.2.1 (XBMC 13.2). Is this coincidence or has anyone else got the same problem?


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - flekz - 2014-11-03

I just set up OE 4.2.1 as well and I found no problem with catch up on ITV player.

Why is BBC iPlayer not working?


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - tredman - 2014-11-03

(2014-11-03, 14:39)flekz Wrote: I just set up OE 4.2.1 as well and I found no problem with catch up on ITV player.

Why is BBC iPlayer not working?

Read the thread for the last few pages....?

Or read this:

http://www.theregister.co.uk/2014/11/03/beeb_clamps_down_on_naughty_iplayer_watching/


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - torenvalk - 2014-11-03

FTA

Quote:Jon Billings, head of platform API at the BBC, wrote:
...
"Nitro [iPlayer API] will almost certainly not support their [Kodi] ways of working."



RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - exobuzz - 2014-11-03

get_iplayer is now working as they are scraping programme information from the website rather than using the feeds. if the iplayer addon was converted to do this it would likely work again. just requires someone with the free time - I am happy to push out a new release if someone provides a patchset to fix this.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - zag - 2014-11-03

I'd suggest getting it up on Github first so people can start looking at the code in a collaborative way.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - forestgreen - 2014-11-03

(2014-11-03, 14:05)forestgreen Wrote: Off topic I know but, at the same time as the BBC Iplayer add-on stopped working, my ITV Player no longer works with catch up TV. Live channels are fine. I'm using OpenElec 4.2.1 (XBMC 13.2). Is this coincidence or has anyone else got the same problem?

It seems that an update to SVTplay caused ITVplayer to fall over. A fresh install of OpenElec with ITVplayer (and without SVTplay) now works fine.Smile


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - exobuzz - 2014-11-03

(2014-11-03, 19:11)zag Wrote: I'd suggest getting it up on Github first so people can start looking at the code in a collaborative way.

you referring to the iplayer plugin ? it's in source control already - https://code.google.com/p/xbmc-iplayerv2/


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - stammie - 2014-11-03

I'm guessing its a rare occurrence that a BBC blog post has received so many replies,
from the times I used to have to go to Television Centre on occasion for work before it closed down I can imagine several committee meetings going on right now.
The first will have several layers of management analysing the replies, the second will be suggesting ways in which the BBC can respond, the third will analyse those responses etc etc and eventually probably around the time the BBC opens up their API to non employees we'll get an official answer saying Kodi is a non sanctioned platform and there's nothing they can do.
I wouldn't trust or touch the previously mentioned working addon with a barge pole so I hope an enterprising dev here can come up with their own code to scrape the Iplayer website, I don't even care about metadata or program info, if I could get the shows I want to watch working through XBMC/Kodi I'll be happy.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - NullNix - 2014-11-03

(2014-11-03, 20:03)stammie Wrote: I wouldn't trust or touch the previously mentioned working addon with a barge pole so I hope an enterprising dev here can come up with their own code to scrape the Iplayer website, I don't even care about metadata or program info, if I could get the shows I want to watch working through XBMC/Kodi I'll be happy.

I just had a look through that addon, and it's doing exactly what you suggest (webscraping). Unreliable, icky, but should work briefly before the BBC change the website and break it again. This is so much worse than the RSS feeds, sigh...

The only even vaguely suspicious-looking part is an URL in the addons.xml, but that turns out to be a Limelight auth key, whatever that is. Nothing is sent to remote sites, nothing is written anywhere by the plugin that I can see.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - stammie - 2014-11-03

(2014-11-03, 20:27)NullNix Wrote:
(2014-11-03, 20:03)stammie Wrote: I wouldn't trust or touch the previously mentioned working addon with a barge pole so I hope an enterprising dev here can come up with their own code to scrape the Iplayer website, I don't even care about metadata or program info, if I could get the shows I want to watch working through XBMC/Kodi I'll be happy.

I just had a look through that addon, and it's doing exactly what you suggest (webscraping). Unreliable, icky, but should work briefly before the BBC change the website and break it again. This is so much worse than the RSS feeds, sigh...

The only even vaguely suspicious-looking part is an URL in the addons.xml, but that turns out to be a Limelight auth key, whatever that is. Nothing is sent to remote sites, nothing is written anywhere by the plugin that I can see.

Given the previous actions from at least one individual in that organisation I wouldn't want their code on my pc or want to be reliant on them to provide me with any addon.
Hopefully someone within this site can come up with some clean Kodi python code, until then my £9:99 impulse buy of a Now TV box is going to have to suffice.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - darkreign - 2014-11-03

I've done some digging........I'll leave this here.
examples.....

Channel list
http://ibl.api.bbci.co.uk/ibl/v1/channels?lang=en&api_key=q5wcnsqvnacnhjap7gzts9y6

Categories
http://ibl.api.bbci.co.uk/ibl/v1/categories?lang=en&api_key=q5wcnsqvnacnhjap7gzts9y6

Highlights Full
http://ibl.api.bbci.co.uk/ibl/v1/home/highlights?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Highlights BBC one
http://ibl.api.bbci.co.uk/ibl/v1/channels/bbc_one_london/highlights?lang=en&rights=mobile&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Highlights BBC Two
http://ibl.api.bbci.co.uk/ibl/v1/channels/bbc_two_england/highlights?lang=en&rights=mobile&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Highlights for Arts Category
http://ibl.api.bbci.co.uk/ibl/v1/categories/arts/highlights?lang=en&rights=mobile&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Highlights for CBBC Category
http://ibl.api.bbci.co.uk/ibl/v1/categories/cbbc/highlights?lang=en&rights=mobile&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6

Programmes on BBC One
http://ibl.api.bbci.co.uk/ibl/v1/channels/bbc_one_london/programmes?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Programmes on BBC Two
http://ibl.api.bbci.co.uk/ibl/v1/channels/bbc_two_england/programmes?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Programmes Arts Category
http://ibl.api.bbci.co.uk/ibl/v1/categories/arts/programmes?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6
Programmes CBBC Category
http://ibl.api.bbci.co.uk/ibl/v1/categories/cbbc/programmes?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6

List episodes for show id b04nv6kr
http://ibl.api.bbci.co.uk/ibl/v1/episodes/b04nv6kr?rights=mobile&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6

Python List channels
import json,urllib
data = urllib.urlopen("http://ibl.api.bbci.co.uk/ibl/v1/channels?lang=en&api_key=q5wcnsqvnacnhjap7gzts9y6").read()
d = json.loads(data)
for x in d['channels']:
print x['title']

List Categories
import json,urllib
data = urllib.urlopen("http://ibl.api.bbci.co.uk/ibl/v1/categories?lang=en&api_key=q5wcnsqvnacnhjap7gzts9y6").read()
d = json.loads(data)
for x in d['categories']:
print x['title']

List Highlights
import json,urllib
data = urllib.urlopen("http://ibl.api.bbci.co.uk/ibl/v1/home/highlights?lang=en&rights=tv&availability=available&api_key=q5wcnsqvnacnhjap7gzts9y6").read()
d = json.loads(data)
for x in d['home_highlights']['elements']:
print x['title']


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - zag - 2014-11-03

(2014-11-03, 19:20)exobuzz Wrote:
(2014-11-03, 19:11)zag Wrote: I'd suggest getting it up on Github first so people can start looking at the code in a collaborative way.

you referring to the iplayer plugin ? it's in source control already - https://code.google.com/p/xbmc-iplayerv2/

I doubt many people use SVN any more, its very old. All XBMC devs and most add-on authors use Github these days.

It allows for far more collaboration and social interaction.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - planetmarshall - 2014-11-03

You can create a Github fork yourself. I have already done so here:

https://github.com/planetmarshall/iplayerv2-addon

You are welcome to use it as a base for contributions if you so wish. All of the original authors' commits have been preserved.

Andrew.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - gott_sei_dank - 2014-11-03

I wouldn't wish in any way to give the government another stick to bash the BBC with but the current government has done a reasonable job with its open access policies. Even though it may seem like a fringe techie angle it could easily been spun into the BBC denying legitimate license fee paying members of public access to content, who just so happen to run the range of tech from enthusiasts to professionals, who are the sort of people who you want to support when you want to grow the "digital economy".