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!) - dazzer272 - 2013-06-09

This seemed to work for me goto settings in in iplayer where it says resume upto 40 I placed this to zero good luck


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - niteowl - 2013-06-13

(2013-06-06, 06:48)ursli Wrote: Easy fix, the swf file on the beeb site changed, go to:

Code:
addons\plugin.video.iplayer\lib\iplayer2.py

exchange this on line 346

Code:
http://www.bbc.co.uk/emp/10player.swf

with this and you're good to go

Code:
http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf

At least that made it work on my end again.

Perfect! Thanks for this fix.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - dxg836 - 2013-06-13

I had the same problem and what worked to fix it was clicking on;

"Force Release Resume Lock" in Addon Settings


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - laptopu - 2013-06-13

Thanks dxg that worked for me too Big Grin


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - butcheroo - 2013-06-14

Strange one folks please help

Got new update via repo and now if I watch a little bit of a show then stop it, it's gone from the list.

Almost like a hide watched is set. Can't see this anywhere in iplayer settings

Please help


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - teeedubb - 2013-06-15

Thanks very much for this addon, my .xbmc folder is huge (12.5gb). Im having some trouble with the running of the script:

Code:
blaster:~/.xbmc # /usr/bin/python ./texturecache.py c
Need to cache: [  fanart  ] for addon: Confluence
Need to cache: [  fanart  ] for addon: Repositories Installer

Caching artwork: 0 items remaining of 2 (s: 0, m: 0), 2 errors, 1 thread active (42.63 downloads per second, ETA: 00:00:00)

The following items could not be downloaded:

[fanart    ] [Confluence                              ] image:///usr/share/xbmc/addons/skin.confluence/fanart.jpg/
[fanart    ] [Repositories Installer                  ] image:///storage/.xbmc/addons/plugin.program.repo.installer//
Traceback (most recent call last):
  File "./texturecache.py", line 3522, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 3437, in main
    rescan=_rescan, decode=_decode, extraFields=_extraFields)
  File "./texturecache.py", line 1904, in jsonQuery
    for channel in data1["result"].get(s1, None):
TypeError: 'NoneType' object is not iterable
blaster:~/.xbmc # /usr/bin/python ./texturecache.py p
Traceback (most recent call last):
  File "./texturecache.py", line 3522, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 3457, in main
    pruneCache(purge_nonlibrary_artwork=False)
  File "./texturecache.py", line 2963, in pruneCache
    files = getAllFiles(keyFunction=getKeyFromFilename)
  File "./texturecache.py", line 2956, in getAllFiles
    for channel in channeldata["result"].get("channels", None):
TypeError: 'NoneType' object is not iterable

My texturecache.cfg

Code:
blaster:~/.xbmc # cat texturecache.cfg
webserver.port = 9191

Im running Openelec Generic 3.0.5.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2013-06-15

Let's discuss this in the correct thread. Smile

It looks like the script is having difficulty parsing your PVR JSON details. Can you run the following command - even though the script will fail, it will still produce enough information in the log to be useful:

Code:
./texturecache.py c @logfile=/tmp/tc.log @logfile.verbose=yes
pastebinit -u /tmp/tc.log

and then reply in the other thread, posting the url from pastebinit.

I've only been able to test with the dummy PVR setup so there is obviously still a wrinkle or two... I can see the obvious problem (shouldn't try to iterate None, facepalm) but not sure why you are getting no channels, just want to confirm the response you are getting by taking a look at your log before I upload a fix.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - teeedubb - 2013-06-15

Sorry, I have no idea how I managed that... I've never used this addon and I dont even live in the UK! Confused


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - vijayk416 - 2013-06-16

I highly recommend everyone watch this, whether you like cats or not, it is a very cool doc:
http://www.telegraph.co.uk/culture/tvandradio/10119630/Horizon-The-Secret-Life-of-the-Cat-BBC-Two-review.html


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - JozzaTheWick - 2013-06-17

(2013-06-07, 01:10)exobuzz Wrote: Latest version v2.4.18 available from http://code.google.com/p/xbmc-iplayerv2/downloads/list

exobuzz - thanks so much for your work on this. Being able to lie on the couch & watch 'Mock the Week' on my TV rather than sit at a desk in front of my computer makes a huge difference!

ursli - thanks for your fix re: the update stream URL! It worked for me too.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - UKVaper - 2013-06-17

Is there any way to get this working with Margro's XBMC build with the PVR enhancements ? It works fine with the standard 12.2 on my system (Win8).


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - jcoyne - 2013-06-17

I've edited the iplayer2.py file as suggested. but it does not appear to have taken effect. the log file displays as follows:

20:39:44 T:2745170752 NOTICE: iplayer2.py: INFO conn href: rtmpt://bbcmedia.fcod.llnwd.net:80/ app=a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b001tm73_1370870200.mp4,iplayerstream/secure_auth/400kbps/b001tm73_1370870218.mp4,iplayerstream/secure_auth/1500kbps/MP/b001tm73_1370869548.mp4,iplayerstream/secure_auth/480kbps/MP/b001tm73_1370870185.mp4&et=1371508784&fmta-token=163b6baabf2284e4130c80bac72287a95f675b64d3e323d65a4ac2c6ae0b91bf tcurl=rtmpt://bbcmedia.fcod.llnwd.net:80/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b001tm73_1370870200.mp4,iplayerstream/secure_auth/400kbps/b001tm73_1370870218.mp4,iplayerstream/secure_auth/1500kbps/MP/b001tm73_1370869548.mp4,iplayerstream/secure_auth/480kbps/MP/b001tm73_1370870185.mp4&et=1371508784&fmta-token=163b6baabf2284e4130c80bac72287a95f675b64d3e323d65a4ac2c6ae0b91bf playpath=mp4:iplayerstream/secure_auth/480kbps/MP/b001tm73_1370870185.mp4 [b]swfurl=http://www.bbc.co.uk/emp/10player.swf [/b]swfvfy=true timeout=180

I've been back in and checked the file and the edit has defo taken place, I cant see any reference to emp/10player.swf in the file anymore.

I'm on 2.4.17 on xbmc 12.2 openelec 3.0.6


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Bagger - 2013-06-21

(2013-06-06, 06:48)ursli Wrote: Easy fix, the swf file on the beeb site changed, go to:

Code:
addons\plugin.video.iplayer\lib\iplayer2.py

exchange this on line 346

Code:
http://www.bbc.co.uk/emp/10player.swf

with this and you're good to go

Code:
http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf

At least that made it work on my end again.


Thanks very much, That sorted it for me too Smile


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - dmcuk - 2013-06-21

I've followed the fix above, rolled back to 2.4.17 and although it's got rid of the 'Stream Already Playing' error, now it just plays the first second or two, then hangs until the stream times out, which seems to relate to the Stream Timeout value in Settings (I've tested that and it does change depending on the number of seconds).

I'm running OpenELEC 3.0.6 on a Zotac ZBox Nano AD12

Please note, while I'm reasonably tech-savvy, my scripting knowledge is still quite n00bish, so if I need to get my hands dirty, please let me know specifically where I'm looking (the addons\plugin.video.iplayer\lib\iplayer2.py fix above was about perfect for my level!)

Thanks guys!!

-DMC.


RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - boringpiddock - 2013-06-27

Haven't quite got iplayer working properly again since this latest change. Plays for a while - often no more than 5 minutes, sometimes much less, then just stops. Will usually resume, but not always. I'm close to just re-installing everything but wondered if anyone else is having similar issues - would be good to get back to previous performance.
Running 2.4.18 on openelec 3.0.6 on Asrock 330