2016-12-30, 18:50
I fixed the exceptions, but the same issue appears to happen.
(2016-12-30, 19:17)Protocol-X Wrote: I have tried this before with the same outcome. Would you mind sharing your test code for addon.xml, default.py and the text windowxml and i will see if i still experience the same issue or if it works as expected on my system?
I used the example provided on the kodi wiki initially and had the same issue, but since we know your code is not i would like to test with it. If it is not to much trouble
import xbmcgui, xbmcaddon
__addon__ = xbmcaddon.Addon(id='script.testxml')
__path__ = __addon__.getAddonInfo('path')
class TestWnd (xbmcgui.WindowXML):
def __init__(self, *args, **kwargs):
pass
def onClick(self, controlID):
self.close()
if __name__ == '__main__':
wnd = TestWnd('test.xml', __path__, 'Default')
wnd.doModal()
del wnd
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon
id="script.testxml"
name="TestXML"
version="1.0.0"
provider-name="Taifxx"
>
<requires>
<import
addon="xbmc.python"
version="2.1.0"
/>
</requires>
<extension point="xbmc.python.script" library="default.py"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">Test</summary>
<description lang="en">Test</description>
<disclaimer lang="en"></disclaimer>
<platform>all</platform>
<license>GNU GENERAL PUBLIC LICENSE V3</license>
</extension>
</addon>
(2016-12-30, 20:01)Taifxx Wrote: Yes, maybe )))
p.s. you can have 2 extension in addon.xml if you need:
<extension point="xbmc.python.script" library="default.py"/>
<extension point="xbmc.python.pluginsource" library="default.py">