2019-05-11, 00:46
I am at the stage in my project where I am trying to install it onto another machine to find out what libraries are missing in a clean Kodi install. I resolved the "future" lib issues pretty quickly by adding the dependency
"<import addon="script.module.future" version="0.16.0.4"/>"
in the addon.xml. Now I am finding that import "typing" is missing. I don't see this module listed on https://kodi.wiki/view/Category:Add-on_l...es/modules, so perhaps it doesn't exist. Of course I don't have to have this module since it is just for type hinting, but it would be nice.
Am I looking in the right place? Should I expect each top-level import to have it's own module, or should I dig into git repositories? It took me a while to figure out that that the plugin name for the "future" lib is "script.module.future". How do I determine the version to specify in the addon.xml? For script.module.future I initially tried "0.1.1" which caused it to install 0.16.0.4, which I assume is the latest. Perhaps I should always try that strategy.
Thanks
"<import addon="script.module.future" version="0.16.0.4"/>"
in the addon.xml. Now I am finding that import "typing" is missing. I don't see this module listed on https://kodi.wiki/view/Category:Add-on_l...es/modules, so perhaps it doesn't exist. Of course I don't have to have this module since it is just for type hinting, but it would be nice.
Am I looking in the right place? Should I expect each top-level import to have it's own module, or should I dig into git repositories? It took me a while to figure out that that the plugin name for the "future" lib is "script.module.future". How do I determine the version to specify in the addon.xml? For script.module.future I initially tried "0.1.1" which caused it to install 0.16.0.4, which I assume is the latest. Perhaps I should always try that strategy.
Thanks