Kodi Community Forum
How to force python plugin recompile? - 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: How to force python plugin recompile? (/showthread.php?tid=198310)



How to force python plugin recompile? - Lunatixz - 2014-06-20

Other then restarting, or removing old files... is there a command that can force a plugins files to recompile?
I would like to remove the .pyo from a plugin so that new ones can be generated without restarting xbmc.
I tried xbmc.executebuiltin("UpdateLocalAddons") hoping that would refresh the folders, but I didn't notice a change....

any help would be appreciated...


RE: How to force python plugin recompile? - jmarshall - 2014-06-21

Usually python notices as soon as the .py differs.


Re: RE: How to force python plugin recompile? - Lunatixz - 2014-06-21

(2014-06-21, 00:37)jmarshall Wrote: Usually python notices as soon as the .py differs.

Thanks, I'll keep an eye on if it change...