Kodi Community Forum

Full Version: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does the add-on currently support the capacity to be skinned? had a play with boxee earlier and really enjoyed the way their iplayer functionality is skinned.
Image
I may have missed this as I haven't been keeping tabs recently, but is the iplayer plugin broken on the beta 4 build?

Using version 2.3.2 of the iplayer plugin I get an error popup.

XBMC.LOG...

Code:
23:59:36 T:1108 M:2333364224   DEBUG: CTextureCache::GetImageHash - unable to stat url C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer\icon.png
23:59:38 T:3708 M:2333442048   DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
23:59:38 T:3708 M:2333442048   DEBUG: CApplication::OnKey: 61453 pressed, action is Select
23:59:38 T:3708 M:2333437952   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.iplayer/)
23:59:38 T:3708 M:2333437952   DEBUG:   ParentPath = [addons://sources/video/]
23:59:38 T:4716 M:2333425664   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin IPlayer('plugin://plugin.video.iplayer/','0','')
23:59:38 T:4716 M:2333425664    INFO: initializing python engine.
23:59:38 T:4716 M:2333425664   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/python/python24.dll)
23:59:38 T:4716 M:2332246016   DEBUG:   msg: 'import site' failed; use -v for traceback
23:59:38 T:4716 M:2332151808   DEBUG: new python thread created. id=1
23:59:38 T:4716 M:2332139520   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the IPlayer plugin...
23:59:38 T:3748 M:2332131328   DEBUG: thread start, auto delete: 0
23:59:38 T:3748 M:2332119040   DEBUG: Python thread: start processing
23:59:38 T:3748 M:2331963392   DEBUG:   msg: 'import site' failed; use -v for traceback
23:59:38 T:3748 M:2331934720  NOTICE: -->Python Interpreter Initialized<--
23:59:38 T:3748 M:2331934720   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer\default.py
23:59:38 T:3748 M:2331934720   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
23:59:38 T:3748 M:2331934720   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer
23:59:38 T:3748 M:2330222592   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
23:59:38 T:3748 M:2330222592   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
23:59:38 T:3748 M:2330177536   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
23:59:38 T:3748 M:2330177536   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
23:59:38 T:3748 M:2328817664   DEBUG: ADDON: cpluff: 'Could not return information about unknown plug-in video.plugin.iplayer.'
23:59:38 T:3748 M:2328817664    INFO: -->Python script returned the following error<--
23:59:38 T:3748 M:2328817664   ERROR: Error Type: exceptions.Exception
23:59:38 T:3748 M:2328817664   ERROR: Error Contents: Could not get AddonPtr!
23:59:38 T:3748 M:2328809472   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer\default.py", line 22, in ?
                                                import addoncompat
                                              File "C:\Users\Mark\AppData\Roaming\XBMC\addons\video.plugin.iplayer\lib\addoncompat.py", line 15, in ?
                                                __addon__ = xbmcaddon.Addon(os.path.basename(os.getcwd()))
                                            Exception: Could not get AddonPtr!
23:59:38 T:3748 M:2328805376    INFO: -->End of Python script error report<--
23:59:38 T:3748 M:2328797184    INFO: Python script stopped
23:59:38 T:3748 M:2328797184   DEBUG: Thread 3748 terminating
23:59:38 T:4716 M:2328698880   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
23:59:38 T:3708 M:2328690688   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iplayer/
23:59:38 T:3708 M:2328690688   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iplayer/) failed
23:59:38 T:3708 M:2328690688   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
23:59:38 T:3708 M:2328690688   DEBUG:   ParentPath = []
23:59:38 T:3708 M:2328674304 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
23:59:38 T:3152 M:2328649728   DEBUG: thread start, auto delete: 0
23:59:38 T:3152 M:2328592384   DEBUG: Thread 3152 terminating
23:59:38 T:3708 M:2328621056   DEBUG: python thread 1 destructed
23:59:38 T:3708 M:2328621056   DEBUG: ------ Window Init (DialogKaiToast.xml) ------


EDIT: Never mind, must have been some screwed up setting somewhere. Wiping my XBMC profile directory and adding the iplayer plugin back fixed it.
limelight failed for me too - buffer would just run out. akamai fine last night.
tungmeister Wrote:Does the add-on currently support the capacity to be skinned? had a play with boxee earlier and really enjoyed the way their iplayer functionality is skinned.
Image

Generally XBMC plugins tend to be less skinned so that they're more skin-agnostic. Saves the plugin writer a lot of work too.
My final aim is to get iPlayer working on AppleTV.
But before trying that I'm trying to get it working on my iMac.
I am outside the UK and have a UK proxy set up on the iMac. With the proxy set up, I am able to watch programmes on the iPlayer desktop application - so I don't have a proxy issue.
I have the plug-in installed and can navigate within XBMC through channels and then to programmes.
I choose a programme, get a number of status messages - loading catchup stream info, selecting video stream and the final one of which is "PLAYING"
But nothing happens after that - I'm still at the menu listing the programme.

My log file contains an error:
ERROR: CDVDPlayer::OpenInputStream - error opening [rtmpt://cp41752.edgefcs.net:80/ondemand?auth=daEdXayaFcwdbdlaTdsawbVabbicjc8dhc1-bm59sv-bWG-KnpDBpyqGEoEszK&aifp=v001&slist=secure/800kbps/b00vz1mx_1290212296;secure/480kbps/b00vz1mx_1290212543;secure/1500kbps/b00vz1mx_1290212543 playpath=mp4Confusedecure/800kbps/b00vz1mx_1290212296 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=600]

Can anyone tell me what this means?
I can only seem to play content for a few seconds before it just stops, has anyone else seen this?

Thanks
Rumik Wrote:I can only seem to play content for a few seconds before it just stops, has anyone else seen this?

Thanks


if you are running linux check if rtmpdump is installed.
I have just updated to xbmc rc1 on ubuntu 10.10. I have problems with xbmc hanging and auto rebooting during play.

Usually one stream plays ok. The second one seems to have problems
Thanks for the advice but I'm running it on Windows 7, and I've tried switching the video source to akami but it doesn't make any difference. Though it may only be long streams - short ones seem okay.
please post a debug log in case there is any information in there that could be of help.
I am having exactly the same problem, as is Borisbadenov. Both of us have posted help requests, together with fault logs but so far nothing doing. Am quite prepared to believe I'm doing something stupid, but if so then not a clue what it might be. Running the latest Dhama release on a PPC PowerMac G5, but it works perfectly on my intel laptop, so is it simply an intel/PPC problem? Have tried uninstalling and re-installing, in fact I've tried everything I can think of, so any offers of help greatly appreciated.

At least I know that it's not just me.

http://pastebin.com/ciVBsr63
This is one of the plugins I use every day and it works well but I do have one feature request.

The iplayer site lists the date and time the show was a) Originally aired b) last aired c) Date the show will be removed from the iplayer.

Would it be possible to include these dates/times on the info screen? I imagine this should be possible as you are scrapping the plot/program description already.
I'm sure it's possible. im short on time though. feel free to add these features though if you like Smile
The broadcast date is already used but the skin needs to support it.

Image
Thanks Hitcher Smile Saved me from even looking at the code !