can't import installed addon with xbmc.python.module as extension point
#1
I would like to import and use some features of "Cron for Kodi", and in the addon.xml it has the
xml:
<extension point="xbmc.python.module" library="resources/lib" />
correct as far as I can see.
https://github.com/robweber/cronxbmc/blo...on.xml#L12

Yet still it is not in my sys.path in kodi?!? Any idea, to why I can not see this installed addon in my sys.path?
Reply
#2
(2023-02-26, 23:33)Termo Wrote: I would like to import and use some features of "Cron for Kodi", and in the addon.xml it has the
xml:
<extension point="xbmc.python.module" library="resources/lib" />
correct as far as I can see.
https://github.com/robweber/cronxbmc/blo...on.xml#L12

Yet still it is not in my sys.path in kodi?!? Any idea, to why I can not see this installed addon in my sys.path?

I looked on the Git repo and the addon id is service.cronxbmc .  You should be able to add the line:

  <requires>
    <import addon="service.cronxbmc"/>
  </requires>   

in your addon.xml requires section to import it into your addon.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#3
Agree.  I think only the <requires> element in your addon.xml causes kodi to add the library path to your sys.path.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
can't import installed addon with xbmc.python.module as extension point0