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)



- sdesign - 2011-02-26

Does anyone have this plugin working on the ATV2?

I have installed it okay, the plguin.video.iplaer folder is installed here:/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.iplayer

All of the menus and thumbnails load up just fine. No errors. But when I click on a video under TV to play, it's starts the stream and then ends without playing anything. Sometimes I will see a brief flash of the video, but then it dissappears. Nothing will play.

Any help appreciated :-)

SD


- procrastinator - 2011-02-26

Videos from this plugin are working fine for me on ATV2. I installed Hitcher's repository and then installed the iPlayer plugin from there. Don't really know what's going wrong for you. I'm sure a debug log would help anyone trying to find out what's happening.

I am having a problem listening to radio streams though (playback failed errors, or nothing at all happens), but I'll report back about that after the ATV2 branch has been merged to trunk in case that's got something to do with it.


- sdesign - 2011-02-26

procrastinator Wrote:Videos from this plugin are working fine for me on ATV2. I installed Hitcher's repository and then installed the iPlayer plugin from there. Don't really know what's going wrong for you. I'm sure a debug log would help anyone trying to find out what's happening.

I am having a problem listening to radio streams though (playback failed errors, or nothing at all happens), but I'll report back about that after the ATV2 branch has been merged to trunk in case that's got something to do with it.

How do I get a debug log for a plugin?


- procrastinator - 2011-02-26

sdesign Wrote:How do I get a debug log for a plugin?

There's a setting to switch on "enhanced debug output" under the advanced tab in the iPlayer plugin settings. First switch this on. Then I would switch on debug logging in the XBMC system settings. Then restart XBMC and reproduce the error.

You can find the file path to get the log file here:
http://forum.xbmc.org/showthread.php?tid=92480
The easiest way of retrieving this is probably by using a SFTP client like Filezilla (use the following credentials to log on: username:root, password:alpine, port:22). Then upload this to a paste site like pastebin.com

Alternatively upload the log directly from within XBMC using the debug log add-on:
http://forum.xbmc.org/showthread.php?tid=84162


- exobuzz - 2011-02-26

both level 3 and akamai carry the hd streams. but it should be fine on auto mode for provider. are you setting stream quality to hd or normal? a debug log would be good (in this case I just need debugging switched on for the iplayer plugin not xbmc itself but thats fine too - more important to have that for stuff when there are timeouts etc) as then i can see why you only get the lower quality stream.


- CloudDweller - 2011-02-26

After a quick reboot it's working now.


- Wilda - 2011-02-26

exobuzz Wrote:both level 3 and akamai carry the hd streams. but it should be fine on auto mode for provider. are you setting stream quality to hd or normal? a debug log would be good (in this case I just need debugging switched on for the iplayer plugin not xbmc itself but thats fine too - more important to have that for stuff when there are timeouts etc) as then i can see why you only get the lower quality stream.

Even though this reply wasn't directed at me thanks for the clarification. I looked at my log file and noticed that even though I have my stream preference set to Limelight it will still check Level 3 for the HD stream. Didn't mean to cause any confusion.


- exobuzz - 2011-02-26

Wilda Wrote:Even though this reply wasn't directed at me thanks for the clarification. I looked at my log file and noticed that even though I have my stream preference set to Limelight it will still check Level 3 for the HD stream. Didn't mean to cause any confusion.

most likely because it tries your stream preference, and gets nothing (limelight currently only has up to 1500kbit 832x438 or so), and then get no streams, so it then tries to get the first match for your bitrate (which would be level 3). if there was a hd stream from limelight it would use that of course.


- exobuzz - 2011-02-27

if anyone wants to try out some new proxy code. please try

http://malus.exotica.org.uk/~buzz/xbmcdev/2011-02/plugin.video.iplayer.zip

it should now support authenticated http (with and without tunnelling),socks4 and socks5


- Wilda - 2011-02-27

exobuzz Wrote:if anyone wants to try out some new proxy code. please try

http://malus.exotica.org.uk/~buzz/xbmcdev/2011-02/plugin.video.iplayer.zip

it should now support authenticated http (with and without tunnelling),socks4 and socks5

Thanks for the test version! I tried it and non live video works great but I can't get live TV, catchup radio or live radio to work with any combination of settings I tried. I also can't get SOCKS5 working and to get tunneling working I have to turn off the DNS option. Didn't try SOCKS4 since the password greys out so I'm assuming it doesn't support authentication. I can send log files if you like.


- exobuzz - 2011-02-27

your proxy server definitely supports socks5 ? I would need to install a socks5 server to test, as that code is untouched by me (part of a python module). I should think most http proxy servers with authentication will work with the first option anyway.

wouldnt mind a log showing live tv/radio not working, but I assume they are geolocked streams. Not much i can do there - for that you need a vpn.

password is disabled on socks4 as it doesnt support it (or at least the module we use doesnt and it states socks4 doesnt).

ive uploaded a newer build same url - had a fix to the tunneled authentication (which I have successfully tested on a local proxy server)


- Wilda - 2011-02-27

exobuzz Wrote:your proxy server definitely supports socks5 ?

It looks like my UK proxy does not support SOCKS5. I should have double checked before mentioning it. The proxy server I run for work does which is probably why I got confused.

I'll send some logs in a bit. If I turn off the proxy live radio works fine but catchup radio doesn't. Neither works with the proxy enabled. I was able to get both with my code if I left httplib2 proxy off and the urllib2 proxy on. No idea why.

I'll check out the update. Thanks again for all your work on this.


- exobuzz - 2011-02-27

ill check and make sure there isnt any weirdness going on in the code - not really look at the radio stuff. having said that, when using my test proxy, it worked fine although I will double check (and of course could be linked to me being in the uk - perhaps I should vpn to outside the uk for testing it ;-) )


- exobuzz - 2011-02-27

oh and logs with it enabled/disabled and working/not working would be useful please. note i log the proxy user/pass currently so you might want to snip that out before posting anywhere public.

I can only think the issue is related to auth codes being given being usable only from the same location given out. for the tv, you can get a code without being in the uk. perhaps for the radio, they give a different code, so if the proxy is on, the auth code wont work when you connect to the stream. well it's an idea. i shall await some logs Smile

oh and it's worth clearing out the userdata/plugin_data/IPlayer/iplayer_http_cache folder between switching settings.


- Wilda - 2011-02-27

exobuzz Wrote:oh and logs with it enabled/disabled and working/not working would be useful please. note i log the proxy user/pass currently so you might want to snip that out before posting anywhere public.

I can only think the issue is related to auth codes being given being usable only from the same location given out. for the tv, you can get a code without being in the uk. perhaps for the radio, they give a different code, so if the proxy is on, the auth code wont work when you connect to the stream. well it's an idea. i shall await some logs Smile

oh and it's worth clearing out the userdata/plugin_data/IPlayer/iplayer_http_cache folder between switching settings.

I sent the logs to your email address. I noticed the authentication information and removed it. I did not try clearing the cache as I read this post after sending the log. I'll play with it and let you know if anything changes.