Addon self update - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Addon self update (/showthread.php?tid=90336)
Pages: 1 2
Addon self update - Shchvova - 2011-01-12 06:10
What confusing me, is greyed "Update" section in Addon Information (add-on page in settings)
How can I make it actually working & updating my addon?
Anyway, is there a good sample how I can make my addon updating? Should I create repository addon as besides main addon?
Or I can create one addon which will inclule self-update information and main addon? That would be really cool - becouse I should not ask user to install from zip repo, that go to sources and install actually addon, just to get it autoupdating.
Is there any working & simple examples of that? The wiki page about repositories did not tell me much.
Thanks in advance.
- Shchvova - 2011-01-12 07:01
yes, and it driving me nuts, why this is not working...
ERROR: Package repository.vkxbmc.zip is not a valid addon
- spiff - 2011-01-12 10:35
not how it works. the add-on is updated in the repository, xbmc see it, and by default autoupdates it.
- Shchvova - 2011-01-12 14:18
Can you help me to figure out what is wrong with this repository?
(you can view files and over there https://code.google.com/p/xbmc-vk-repo/source/browse/trunk/addons/)
- spiff - 2011-01-12 14:55
works fine for me, when i remove the god damn __MACOSX folder from the zip.
- Shchvova - 2011-01-12 17:55
omg. I feel stupid. Works great, those __MACOSX cost me a lot...
BTW, is it possiple, to have 2 entry ponts inside one file?
- spiff - 2011-01-12 18:03
you tell me if it doesn't work, that's something we really want to support.
OMG IT Wokred - Shchvova - 2011-01-12 21:34
I fell myself getnius =)
that is the way to make plugin update itself ) isn't it really cool?
Here is working example
Trick is to Name entry points different:
otherwise, you'll get superbug, (if names are same) btw
Can you confirm or test that if it is interesting for you?
- Shchvova - 2011-01-12 21:37
and yep, it is working.
Will it still be working, or it is an unreliable way?
- spiff - 2011-01-12 21:56
nice. sure, if it works it's all good