2020-01-20, 18:37
This is my first try to build a Kodi addon. I'm using plugin.video.example codes, but I can't import a python module (requests) to this code. I tried adding the following line inside the <requires> section of addon.xml file:
But this is the error I see in the log file when I try to install the zip file:
I also couldn't find the requests module in the "manage dependencies" section of settings. What should I do to import this module to the code that is already working?
Code:
<import addon="script.module.requests" version="2.4.3"/>
Code:
ERROR: Failed to parse 'zip://%2fhome%2fsaeed%2fl%2fplugin.video.example.zip/plugin.video.example/addon.xml'
I also couldn't find the requests module in the "manage dependencies" section of settings. What should I do to import this module to the code that is already working?