v15 KODI python module addon descriptor problem - 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: v15 KODI python module addon descriptor problem (/showthread.php?tid=220694) |
KODI python module addon descriptor problem - enyone - 2015-03-08 Hi, I would like to create an addon which adds a python module available to all other addons. How can I achieve this? https://github.com/enyone/elisaviihde/tree/master/script.module.elisaviihde (manually then add elisaviihde.py into lib/) With this fileset the addon installs succesfully in KODI but still there is no elisaviihde python module available for "import elisaviihde". Thanks. RE: KODI python module addon descriptor problem - ronie - 2015-03-08 Code: <extension point="xbmc.python.module" RE: KODI python module addon descriptor problem - enyone - 2015-03-08 Not working after that modification. Code: $ tail -f /storage/.kodi/temp/kodi.log Code: $ unzip -l script.module.elisaviihde-1.1.zip KODI 14.2 (sorry for the topic which says KODI 15) OpenELEC 5.0.5 RE: KODI python module addon descriptor problem - enyone - 2015-03-08 Full debug log at http://pastebin.com/13bMv86e RE: KODI python module addon descriptor problem - enyone - 2015-03-08 Now deleted script.module.elisaviihde/icon.png and it did install succesfully. However there is still no elisaviihde available at another addon. Full debug log at http://pastebin.com/RgvwArk7 Seems that script.module.elisaviihde is no inserted in pythonpath even if it is installed. Why is that? Code: 02:57:26 T:1759507520 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- Tried all of these without success. Code: import elisaviihde The other module has requirements: Code: <requires> RE: KODI python module addon descriptor problem - enyone - 2015-03-08 Fixed and works now. Have no idea what caused this after all. Thanks anyway. https://github.com/enyone/elisaviihde/releases/tag/1.2 https://github.com/enyone/XBMC-Elisa-Viihde-plugin/releases/tag/v0.1.0 |