RunScript called for a non-script addon?
#1
I get the "RunScript called for a non-script addon 'script.module.stiff'. This behaviour is deprecated." for the following plugin - what's wrong about t?

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
- <addon id="script.module.stiff" name="stiff" version="0.0.1" provider-name="stiffauthor">
- <requires>
  <import addon="xbmc.python" version="2.25.0" />
  </requires>
  <extension point="xbmc.python.module" library="addon.py" />
- <extension point="xbmc.addon.metadata">
  <summary>Stiff skin support module</summary>
  <description>Stiff skin support module</description>
  <platform>all</platform>
  <license>ala</license>
  </extension>
  </addon>
Reply
#2
it's not a plugin. it's not a script either. you've defined it as a python module. ;-)

you can't run modules, you can only import them from another addon.
change the extension point to "xbmc.python.script" or "xbmc.python.library" (depending on the use case) and you should be good to go.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Oh, I see.

The table in http://kodi.wiki/view/Addon.xml doesn't give much details about usage.
Reply

Logout Mark Read Team Forum Stats Members Help
RunScript called for a non-script addon?0