Addon API changes?
#1
Hello,

In recent XBMC builds, e.g. 14th/15/16th onwards on the Raspberry Pi iPlayer does not work.

Code:
NEWADDON REFCNT decrementing to 7 on Python::LanguageHook 0x2ebc818
21:21:07 T:1285059648   DEBUG: NEWADDON Leaving xbmc_log                                              21:21:07 T:1285059648   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script ret
urned the following error<--                                                                                                                       - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                             Error Type: <type 'exceptions.RuntimeError'>
                                             Error Contents: Incorrect type passed to "play", was expec
ting a "p.PlayList" but received a "p.XBMCAddon::xbmc::PlayList"
                                             Traceback (most recent call last):                                                                      File "/home/pi/.xbmc/addons/plugin.video.iplayer/default
.py", line 1072, in <module>
                                                 watch(feed, pid, showDialog)
                                               File "/home/pi/.xbmc/addons/plugin.video.iplayer/default.py", line 963, in watch                                                                                                                              player.play(play)
                                             RuntimeError: Incorrect type passed to "play", was expecting a "p.PlayList" but received a "p.XBMCAddon::xbmc::PlayList"
                                             -->End of Python script error report<--
Reply
#2
Give me a simple script that reproduces this and I'll fix it.
Reply
#3
Line 963 of default.py

http://code.google.com/p/xbmc-iplayerv2/...default.py
Is this fixed by the following commit?

https://github.com/xbmc/xbmc/commit/5b9a...51e0c5b97c
Reply
#4
(2012-09-18, 13:02)s7mx1 Wrote: Line 963 of default.py

http://code.google.com/p/xbmc-iplayerv2/...default.py
Is this fixed by the following commit?

https://github.com/xbmc/xbmc/commit/5b9a...51e0c5b97c

Possible yes.
If you could test it to see if it works now.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
It still doesn' work.
See MyPicsDB
or EEVblog

Playlist might work but a there are <type 'exceptions.TypeError'> errors
1) Error Contents: argument "label" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
2) Error Contents: argument "path" for method "XBMCAddon::xbmc::translatePath" must be unicode or str

regards
Xycl
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply

Logout Mark Read Team Forum Stats Members Help
Addon API changes?0