2014-10-27, 22:54
Just upgraded a couple of systems to the latest Kodi nightlies (both from builds before the recent rebrand commits) and noticed that my script - script.skinshortcuts - no longer ran on them. Absolutely nothing in the debug log - it showed the script was loaded along with all other installed scripts at start, and similarly unloaded at shutdown. But there was literally nothing in the logs at the various times the script was meant to run (either automatically, or manually through skinsettings.xml. Normally it is run via the RunScript function - something like
After some playing, I noticed that if I changed the extension point in addon.xml from xbmc.python.library to, say, xbmc.python.script the script ran as normal. So from
to
Is this intended behaviour, that scripts using the xbmc.python.library extension point can no longer be called by RunScript()? If so, is there a recommended alternative entry point to be used? Thanks!
Code:
<onclick>RunScript(script.skinshortcuts,type=manage&group=mainmenu)</onclick>
After some playing, I noticed that if I changed the extension point in addon.xml from xbmc.python.library to, say, xbmc.python.script the script ran as normal. So from
Code:
<extension point="xbmc.python.library" library="default.py"/>
to
Code:
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
Is this intended behaviour, that scripts using the xbmc.python.library extension point can no longer be called by RunScript()? If so, is there a recommended alternative entry point to be used? Thanks!