Kodi Community Forum
Enable an addon using python! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Enable an addon using python! (/showthread.php?tid=316311)



Enable an addon using python! - sonixax - 2017-06-12

Hi
I just need to know how can I enable an addon using python in my own Plugin ?
In this case I want enable pvr.iptvsimple binarey addon!
I just tried to enable it with changed kodi source code and recompile it!
But kodi crashes after compile! So i need to know is there any way to enable an addon using python ?

Thanks a lot Smile


Enable an addon using python! - ed_davidson - 2017-06-12

If you import the addon in your addon.xml, won't that automatically enable it??