Kodi Community Forum

Full Version: Service Addon not starting at login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently working on an addon which provides a service and an executable. For some reason, the service addon doesn't get loaded on login. The addon.xml file contains the following lines

Code:
<extension point="xbmc.service" library="monitor.py" start="login" />
<extension point="xbmc.python.script" library="remote.py">
    <provides>executable</provides>
</extension>

where monitor.py should be called at login, and remote.py when launching. But the service simply doesn't start. The addon should write to the login when launched, but no entry appears, as if monitor.py is never called. Ideas?
You need to swap the positions of the service and script extension points in the addon.xml file.
Thx, will try it.