Upgrading Addon structure
#1
Hello, All I am going to upgrade Addon structure but I updated video addon file in C:/user/roming/addons/plugin video sh/ resource/sosac.py
but I can not see updated code in Kodi player, Please help me.
Reply
#2
This seems more like a support question rather than development, but is the path you listed correct?  It should look like (assuming windows):
 
Code:
C:\Users\current_user\AppData\Roaming\Kodi\addons\plugin.video.sh\resource

Or provide the platform on which you are running Kodi. But typically the py files go into some "lib" type folder, not "resource". You can verify by looking at the plugin "addon.xml" file and see what module file gets run -- often "default.py" or "plugin.py". If you open that file and look at the "import" statements you should see what folder is expected as the location for sosac.py (you might need to look at the __init__ file if a package is imported rather than individual module). Of course easiest way is to simply search and replace the existing file wherever it is located.

Alternative would be to get the zip file of the addon, replace the specific file(s) and install the modified zip via kodi UI.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Upgrading Addon structure 0