Repository not self-updating - 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: Repository not self-updating (/showthread.php?tid=132139) Pages:
1
2
|
Repository not self-updating - humla - 2012-05-23 So I have set up a repository with an addon and it does not seem to update automatically. If I uninstall and then install again then I get the updated addon. Here are the relevant files. addon.xml -> for the addon Code: <?xml version="1.0" encoding="UTF-8"?> make_addons_xml.sh -> generates addons.xml and addons.xml.md5 Code: #!/bin/bash the repository's addon.xml Code: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> Any apparent mistakes in here? Thank You. RE: Repository not self-updating - Bstrdsmkr - 2012-05-23 I don't know that it would stop it from updating, but this: Code: <import addon="xbmc.python" version="1.0"/> Code: <import addon="xbmc.python" version="2.0"/> RE: Repository not self-updating - humla - 2012-05-23 Thank you, I made that change. Another thing to say is, if I right click on the repository and select "force refresh" then it updates the plugin. RE: Repository not self-updating - bossanova808 - 2012-05-23 How long are you waiting? I think xbmc only checks repos every X hours (maybe 6?) RE: Repository not self-updating - spiff - 2012-05-23 6h cycle on a per-repo basis yes. RE: Repository not self-updating - humla - 2012-05-23 But can u not force it to check for update by selecting "Force update"? RE: Repository not self-updating - spiff - 2012-05-23 force update will force a refresh. check for updates will check for updates. RE: Repository not self-updating - humla - 2012-05-25 ^ Slightly confused by that explanation. But I have tried waiting for more than 12hr more than once and it does not seem to update. Repository not self-updating - bossanova808 - 2012-05-25 Yeah me too (confused). But I think it means updates of existing things it knows of in the repo vs refreshing the whole list to find new things as well. That said I have also seen it take more than 12 hours... Given up waiting, but users of my addons always seem to be on current versions so I think it works eventually. RE: Repository not self-updating - jmarshall - 2012-05-25 Update checks the .md5 against the stored md5. Force refresh will invalidate the stored md5, thus will force a re-download. Cheers, Jonathan RE: Repository not self-updating - humla - 2012-05-25 (2012-05-25, 00:51)jmarshall Wrote: Update checks the .md5 against the stored md5. Force refresh will invalidate the stored md5, thus will force a re-download. So, if the remote new md5 is different than the stored, then both of them should do the same thing. But in my case it isnt. Another problem is it isnt possible to see all the internals of the this update porcess in the log. Or is it? RE: Repository not self-updating - jmarshall - 2012-05-25 Update runs on a 6 hour cycle (and doesn't run during video playback for example). RE: Repository not self-updating - vikjon0 - 2012-05-25 Quote:Another problem is it isnt possible to see all the internals of the this update porcess in the log. Or is it?Compared to in previous version the logging seem seem to be improved. I was struggling in Dharma but in Eden I got logs of the errors in the rep setup. You only have issues with refresh not install? 100% of the issues I manage to get with my rep was install rep or install addon related. Never saw any issues with refresh. Assuming the md5 is generated it just works. I use github though so it is different. RE: Repository not self-updating - humla - 2012-05-27 Just enabled debug log and tried "check for updates" and this is what i see in the log. the "<" and "?" are added by me. Code: 09:21:00 T:944 DEBUG: CFileCache::Open - opening <addons/eden/addons.xml.md5> using cache Thank you, Repository not self-updating - bossanova808 - 2012-06-03 I have the same issue.... Also google code. Days can go by before I give up and force refresh... And only refresh issues, not instal... |