Addon not updating in Insenberg
#1
Hello All,

Hoping someone can point me in the right direction here. A while back I paid for the development of a custom addon with repository which was and is working just fine in Gotham, however, I am now starting to use Isenberg and am running into an issue.

The addon is a "auto updater" script which allows users to pull in a userdata folder to their system which is stored on a google drive folder. This allows me to periodically go in and change the addon script to include a new zip file and update the addon's version number so that it updates the addons on the client side of things.

As mentioned all was working fine prior to trying to use Isenberg. Now the addon doesn't seem to automatically update. When I change the version number and zip in my GitHub, and click on check for updates in the blade menu on Isenberg it doesn't seem to find any update. That said, if I delete the repository from the system and reinstall it, then the addon version updates no problem. Any idea why this might be, or can anyone point me in the right direction? I am not a developer but am open to learning as I go so any help would be appreciated.

Below is the link to my GitHub:

https://github.com/bbelectric/xbmc.repo.bbelectric/

If you require anything else please let me know, any and all help would be greatly appreciated.

Cheers.
Jacklau
Reply
#2
the auto updates is controlled by the addons.xml.md5, or more specific by the contents of the
Code:
<checksum>http://raw.github.com/bbelectric/xbmc.repo.bbelectric/master/addons.xml.md5</checksum>
tag. if the contents of this file has changed, the repo has updates. if not, kodi won't re-read.

=> rehash your addons.xml when you update it.
Reply
#3
Thanks for the response @ironic_monkey, I am still a bit confused though, I am not sure I understand what you are referring to surrounding "rehash". Here are the steps I follow in order to update the addon in the past (as per instructions from developer):

1. Scroll to xbmc.repo.bbelectric\download\script.absolutetv.updater\script.absolutetv.updater\default.py - Edit fileurl and filename to reflect the new google drive upload to be downloaded.
2. Scroll to xbmc.repo.bbelectric\download\script.absolutetv.updater\script.absolutetv.updater\addon.xml - edit line 2 to reflect the next version number of the addon
3. Scroll to xbmc.repo.bbelectric\download\script.absolutetv.updater - zip the script.absolutetv.updater and name it with the next addon version... ie script.absolutetv.updater-2.1.*
4. Scroll to xbmc.repo.bbelectric\download\script.absolutetv.updater\addon.xml and edit version number on line 2 to reflect the new addon version as well.
5. Scroll to xbmc.repo.bbelectric\addons.xml and change line 27 to reflect the correct version number
6. submit changes to GitHub

I did some searching after you sent your last response, and I think it has something to do with executing the addon_xml_generator.py python script in xbmc.repo.bbelectric\ so that the addon.xml.md5 file changes?

Anyhow, if you could take a look at my process and let me know where I am going wrong that would be much appreciated!

Cheers,
jackalu
Reply
#4
I believe that I may have solved my problem, I followed this video and used the md5 hash generator:

https://www.youtube.com/watch?v=tXzPUs9FaF8

Am I on the right track here?

Thanks!
Jackalu
Reply
#5
(2016-01-21, 20:19)jackalu Wrote: I believe that I may have solved my problem, I followed this video and used the md5 hash generator:

https://www.youtube.com/watch?v=tXzPUs9FaF8

Am I on the right track here?

Thanks!
Jackalu

Yup. Anytime you update your addon you MUST run the addons.xml file through the md5 hash again to get a new hash (which tells Kodi there are updates waiting).
Reply

Logout Mark Read Team Forum Stats Members Help
Addon not updating in Insenberg0