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)



- bionicmunky - 2010-07-01

thanks mate,

now reading http://forum.xbmc.org/showthread.php?tid=70731 :-)

will shout if I make any progress


- bionicmunky - 2010-07-01

hmmmm, is the 2nd required argument the add-on id/name?


- bionicmunky - 2010-07-01

Quote:4. xbmcplugin module has some changes.

4.1 xbmcplugin.getSetting grows in parameters from 1 to 2. now a call looks like this:
Code:

pluginhandle = int (sys.argv[1])
settingvalue = xbmcplugin.getSetting ( pluginhandle, "downloadpath")

4.2 xbmcplugin.openSettings disappears. Don't know new option for this yet.


If you want I can keep updating this until official word from developers..

working.......


- craigd - 2010-07-01

I've gotten a bit further, opened default.py in notepad and replaced all instances of...

"xbmcplugin.getSetting("

to...
"xbmcplugin.getSetting(int (sys.argv[1]), "

doing this can now browse all shows to episode level but don't seem to be able to play the streams, not much of a coder so not sure if I'll get much further than this myself.

***edit***
live tv and radio actually works, previously shown stuff doesn't seem to for me though?


- craigd - 2010-07-02

unable to access settings either, according to the previous link xbmcplugin.openSetting has been dropped which may cause this, don't know if this could impact streams also?


- adix - 2010-07-02

hi - i managed to get video streams to play last night but no audio and a couple of streams seemed to play at double speed. As you i've replaced all the xbmcplugin.getSetting( with xbmcplugin.getSetting(int (sys.argv[1]), - i replaced all occurances in default.py and lib/iplayer2.py . My addon.xml is pretty much identical to the one above. Also you can access the plugin settings via xbmc settings > addons > enabled addons > media sources > iplayer


- bionicmunky - 2010-07-02

I've done similar and getting radio, but no live or tv....

Same with opensettings

grrrrr :-)


- Hitcher - 2010-07-02

Are you using the latest version that was released late yesterday?

http://code.google.com/p/xbmc-iplayerv2/downloads/list


- bionicmunky - 2010-07-02

yip, will have another go this evening.

Can anyone confirm if the RTMP goodness is in source (using 64 lucid and compiling)


- adix - 2010-07-04

I get the same behaviour with the new release - after adding the second parameter to all the getSettings in default.py and lib/iplayer2.py, i just get video streams without audio. Not sure what area to look at in the plugin to be honest, but if anyone has any pointers.


- bionicmunky - 2010-07-04

Ok,

got this working with latest greatest svn, self compiled.

Made changes as per everyone else in default.py and iplayerv2.py for 'getSettings'

But...... I also had to compile librtmp.so and sym-link it into /usr/lib from /usr/local/lib

al la

Quote: Originally Posted by davilla View Post
easy pleasy,

cd into xbmc trunk dir

cd lib/librtmp
make
sudo make install

then do the standard

./bootstrap
./configure

check that librtmp was picked up by configure

make
sudo make install

also with Hitchers addon.xml.

this seems to have sorted it for me.

Ubuntu Lucid 64 - revision 31616


- snozski - 2010-07-04

Nice bionicmunky could you upload it somewhere please.


- bionicmunky - 2010-07-04

here you go

unzip in addons directory, please let us know if it works for you too, don't forget the rtmp bit.


- snozski - 2010-07-04

Thanks mate very kind.


- LAGMonkey - 2010-07-04

bionicmonkey, sorry if i just stole bandwidth off you but ive downloaded the zip file from you to compair with my default.py and iplayer.py (i was getting a timeout error telling me that i had to have a a float instead of "timeout" - line 1091 in default.py)

In any case, with your video.plugin.iplayer i can view all the lists etc but of course i have a ppa svn release of xbmc which does not include rtmp support.

Guess ill be off to compile my own version.