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)



- ajnicho - 2011-05-01

Same here, cannot get BBC One to work on ATV2.
Can get it to work through TVCatchup though so not a biggy.


Help please - splatcat - 2011-05-01

I hope someone can help me, this plugin is driving me insane! I used to use the old plugin (before iplayer introduced SWF verification) and am now trying to use the new one with no luck.

I am using XBMC4xbox 3.0-r30837 with the confluence skin v1.10. I have a crystal softmodded xbox. Iplayer version 2.4.9.

Internet related things work fine, I can get the weather, update my plugins using the svn etc...

The Iplayer plugin will list all the up to date programs and such but will not play. There is no visble error on the xbox everything seems to work fine. try and play the shows, no errors. It just dosen't play.

here is what I think are the relevant sections of my log file.


Code:
15:32:51 M: 57577472  NOTICE: -----------------------------------------------------------------------
15:32:51 M: 57556992  NOTICE: Starting XBMC4Xbox.  Built on Apr 24 2011 (SVN:30837, compiler 1310)
15:33:34 M: 31764480  NOTICE: -->Python Initialized<--
15:33:38 M: 27852800  NOTICE: iplayer2.py: INFO IPlayer: version: 2.4.9
15:33:38 M: 27852800  NOTICE: .
15:33:38 M: 27852800  NOTICE: iplayer2.py: INFO IPlayer: Subtitles dir: Q:\UserData\plugin_data\video\iplayer\Subtitles
15:33:38 M: 27852800  NOTICE: .
15:33:38 M: 27852800  NOTICE: iplayer2.py: INFO (None, None, 'b010y5l3', None, None, None, None, None, None, None)
15:33:38 M: 27852800  NOTICE: .
15:33:39 M: 27582464  NOTICE: iplayer2.py: INFO Read playlist for b010y5l3...
15:33:39 M: 27582464  NOTICE: .
15:33:39 M: 27086848  NOTICE: iplayer2.py: INFO URL Fetch took 0.59 sec for http://www.bbc.co.uk/iplayer/playlist/b010y5l3
15:33:39 M: 27086848  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Found programme: Doctor Who: Series 6: Day of the Moon
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Found item: ident, None
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Found item: programme, b010y5fq
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO watching channel=None pid=b010y5l3
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO thumb =http://www.bbc.co.uk/iplayer/images/episode/b010y5l3_512_288.jpg   summary=Science fiction drama. The Doctor mounts a rebellion against an alien invasion dating back to the very beginnings of human civilisation.
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Reusing existing thumbfile =q:\UserData\Thumbnails\Video\7\778218bf.tbn for url plugin://video/iplayer/?pid=b010y5l3
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Video stream prefs 0 - h264 800
15:33:39 M: 27074560  NOTICE: .
15:33:39 M: 27074560  NOTICE: iplayer2.py: INFO Stream XML URL: http://www.bbc.co.uk/mediaselector/4/mtis/stream/b010y5fq
15:33:39 M: 27074560  NOTICE: .
15:33:40 M: 27074560  NOTICE: iplayer2.py: INFO URL Fetch took 0.27 sec for http://www.bbc.co.uk/mediaselector/4/mtis/stream/b010y5fq
15:33:40 M: 27074560  NOTICE: .
15:33:40 M: 27058176  NOTICE: iplayer2.py: INFO watching url=rtmpt://cp41752.edgefcs.net:80/ondemand?auth=daEahcTdJbIanbja5btbFbjctdIbScRcSb_-bnVw9e-bWG-IpqGFoAnICwEuxL&aifp=v001&slist=secure/1500kbps/MP/b010y5fq_1304164797.mp4;secure/400kbps/b010y5fq_1304165114.mp4;secure/800kbps/MP/b010y5fq_1304165115.mp4;secure/480kbps/MP/b010y5fq_1304165117.mp4;secure/3200kbps/b010y5fq_1303997138.mp4 playpath=mp4:secure/800kbps/MP/b010y5fq_1304165115.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180
15:33:40 M: 27058176  NOTICE: .
15:33:40 M: 27062272  NOTICE: iplayer2.py: INFO Playing preference h264 800
15:33:40 M: 27062272  NOTICE: .
15:33:40 M: 27054080  NOTICE: DVDPlayer: Opening: rtmpt://cp41752.edgefcs.net:80/ondemand?auth=daEahcTdJbIanbja5btbFbjctdIbScRcSb_-bnVw9e-bWG-IpqGFoAnICwEuxL&aifp=v001&slist=secure/1500kbps/MP/b010y5fq_1304164797.mp4;secure/400kbps/b010y5fq_1304165114.mp4;secure/800kbps/MP/b010y5fq_1304165115.mp4;secure/480kbps/MP/b010y5fq_1304165117.mp4;secure/3200kbps/b010y5fq_1303997138.mp4 playpath=mp4:secure/800kbps/MP/b010y5fq_1304165115.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180
15:33:40 M: 27054080 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:33:40 M: 26525696  NOTICE: Creating InputStream
15:33:40 M: 25505792   ERROR: CDVDPlayer::OpenInputStream - error opening [rtmpt://cp41752.edgefcs.net:80/ondemand?auth=daEahcTdJbIanbja5btbFbjctdIbScRcSb_-bnVw9e-bWG-IpqGFoAnICwEuxL&aifp=v001&slist=secure/1500kbps/MP/b010y5fq_1304164797.mp4;secure/400kbps/b010y5fq_1304165114.mp4;secure/800kbps/MP/b010y5fq_1304165115.mp4;secure/480kbps/MP/b010y5fq_1304165117.mp4;secure/3200kbps/b010y5fq_1303997138.mp4 playpath=mp4:secure/800kbps/MP/b010y5fq_1304165115.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180]
15:33:40 M: 25505792  NOTICE: CDVDPlayer::OnExit()
15:33:40 M: 25505792  NOTICE: CDVDPlayer::OnExit() deleting input stream
15:33:40 M: 26836992   ERROR: Playlist Player: skipping unplayable item: 0, path [rtmpt://cp41752.edgefcs.net:80/ondemand?auth=daEahcTdJbIanbja5btbFbjctdIbScRcSb_-bnVw9e-bWG-IpqGFoAnICwEuxL&aifp=v001&slist=secure/1500kbps/MP/b010y5fq_1304164797.mp4;secure/400kbps/b010y5fq_1304165114.mp4;secure/800kbps/MP/b010y5fq_1304165115.mp4;secure/480kbps/MP/b010y5fq_1304165117.mp4;secure/3200kbps/b010y5fq_1303997138.mp4 playpath=mp4:secure/800kbps/MP/b010y5fq_1304165115.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180]
15:33:40 M: 26836992  NOTICE: iplayer2.py: INFO subtitles: None   - subtitles_file None
15:33:40 M: 26836992  NOTICE: .
15:33:40 M: 27361280  NOTICE: CDVDPlayer::CloseFile()
15:33:40 M: 27361280 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:33:40 M: 27361280  NOTICE: DVDPlayer: waiting for threads to exit
15:33:40 M: 27361280  NOTICE: DVDPlayer: finished waiting
15:33:40 M: 27361280  NOTICE: .

Thank you so much to anyone who can help me with this!!!!!


- gobbledigook - 2011-05-01

ajnicho Wrote:Same here, cannot get BBC One to work on ATV2.
Can get it to work through TVCatchup though so not a biggy.

same here... ubuntu natty + dharma

Code:
8:53:36 T:140582581663488 M:3116703744    INFO: -->Python script returned the following error<--
18:53:36 T:140582581663488 M:3116703744   ERROR: Error Type: exceptions.UnboundLocalError
18:53:36 T:140582581663488 M:3116703744   ERROR: Error Contents: local variable 'pDialog' referenced before assignment
18:53:36 T:140582581663488 M:3116703744   ERROR: Traceback (most recent call last):
                                              File "/home/server/.xbmc/addons/plugin.video.iplayer/default.py", line 1093, in ?
                                                live_tv.play_stream(label, bitrate, showDialog)
                                              File "/home/server/.xbmc/addons/plugin.video.iplayer/lib/live_tv.py", line 107, in play_stream
                                                pDialog.ok('IPlayer', "Sorry, stream is currently unavailable")
                                            UnboundLocalError: local variable 'pDialog' referenced before assignment
18:53:36 T:140582581663488 M:3116703744    INFO: -->End of Python script error report<--

EDIT: more info here on the googlecode page, talking about changing the stream source to limelight... worked for me Smile


- higgsboson - 2011-05-01

Unfortunately Limelight doesn't work for me. If i switch to limelight i can't start anything. is there anything else i need to set up before using limelight? I've never had a single problem with akamai

Thanks a lot for everything.


- trevez - 2011-05-02

hey- thanks for a great plugin. Got this working outside of UK (in in Aussieland) on ATV2 using http://usvideo.org/ for DNS. Not all works but some of the streams do.

Just a suggestion, but across all the xbmc plugins I use including this one, there seems to be a lot of fairly static content that it queries the website every time when browsing. I expect its already been considered, but can't find anything by searching. Has anyone tried locally caching results for x amount of time to enable faster navigation? Surely wouldn't be too hard to code? (says he who know little about coding in python!) Obviously the current listings may have to be downloaded fresh as they change frequently, but some of the info hardly ever changes and can take a while to download each and every time.

Know what I mean?
Just an idea.


- exobuzz - 2011-05-02

trevez Wrote:Obviously the current listings may have to be downloaded fresh as they change frequently, but some of the info hardly ever changes and can take a while to download each and every time.

the plugin already does caching.


- exobuzz - 2011-05-02

higgsboson Wrote:Unfortunately Limelight doesn't work for me. If i switch to limelight i can't start anything. is there anything else i need to set up before using limelight? I've never had a single problem with akamai

Thanks a lot for everything.

no, but if you post a debug log (on pastebin). i might be able to help further.


- exobuzz - 2011-05-02

splatcat Wrote:I hope someone can help me, this plugin is driving me insane! I used to use the old plugin (before iplayer introduced SWF verification) and am now trying to use the new one with no luck.

I am using XBMC4xbox 3.0-r30837 with the confluence skin v1.10. I have a crystal softmodded xbox. Iplayer version 2.4.9.
[/CODE]

Thank you so much to anyone who can help me with this!!!!!

please use http://www.xbmc4xbox.org - the xbox is not supported on this forum. there is an iplayer thread already over at xbmc4xbox. Also please post a full debug log there (with debugging enabled), on pastebin and not
directly in the thread.

From the log you already posted, I recommend you don't use rtmpt.


Thanks - splatcat - 2011-05-02

Thanks for that, I will post it over there now.

Just out of interest though why would you recomend not using rtmp?


- higgsboson - 2011-05-02

exobuzz Wrote:no, but if you post a debug log (on pastebin). i might be able to help further.

thank you so much for willing to take the time to look at itSmile
i hope this is the log you want.
http://pastebin.com/WUCe8brm

what i've tried during this session was
1. starting once again akamai stream (it failed)
2. trying to start it through limelight (multiple times, all failed)
3. changed port to 80 which..
4. starts limelight but lasts only a couple of seconds and the exits.
5. returned port to default value after which limelight doesn't want to start


- exobuzz - 2011-05-02

splatcat Wrote:Thanks for that, I will post it over there now.

Just out of interest though why would you recomend not using rtmp?

rtmpT = rtmp over port 80. Some providers may not support it and it doesn't work very well. use standard rtmp (port 1935)


- exobuzz - 2011-05-02

higgsboson Wrote:thank you so much for willing to take the time to look at itSmile
i hope this is the log you want.
http://pastebin.com/WUCe8brm

what i've tried during this session was
1. starting once again akamai stream (it failed)
2. trying to start it through limelight (multiple times, all failed)
3. changed port to 80 which..
4. starts limelight but lasts only a couple of seconds and the exits.
5. returned port to default value after which limelight doesn't want to start

bbc1 live and akamai doesn't work (fixed in 2.4.10) because they removed the akamai provider and switched to akamai hd (port 80 http stream)

should work with limelight but i need more information. this isn't a debug log btw. please check on the xbmc wiki on how to make a debug log.

also please see http://forum.xbmc.org/showpost.php?p=740189&postcount=1340 in case it is related to that.


- exobuzz - 2011-05-02

2.4.10

* Support akamai_hd live stream (bbc1 switched to http stream for akamai)
* Fix python error in dialog code

My amazon wishlist ;-)

http://www.amazon.co.uk/registry/wishlist/253IVVZP6VTUC


- Hitcher - 2011-05-02

Cheers, will update repo asap.


- exobuzz - 2011-05-02

I made a typo, so im going to push out another release in a moment.

[edit] ok 2.4.11 is out.