Posts: 59
Joined: Dec 2008
Reputation:
0
Hi all,
I hope this is the proper section for this post.
I see that some addon do autoupdate and others do not, either they have been installed from repository or not, so I would like to better understand how the addon autoupdate mechanism actually works.
Where does Kodi exactly look at to know if a given addon has any update available? Is it an url in any .xml or what?
Please forgive in case this is a very common question, in that case I would appreciate a link and I'll go through that, thanks a lot.
Posts: 59
Joined: Dec 2008
Reputation:
0
Thanks for reply PatK. I understand that autoupdate is applicable and working only for addons having a repository associated with them. I wonder though, who give Kodi the information that an update is available? The repository? That's not clear to me, because repository in my mind is just a zip which is installed into Kodi exactly like a single addon, it does not seem to be linking to any reference url on the net. Do the repo keep any reference url inside it? That sounds a bit strange because the repo zip file has a given filename, generally related to its particular version (e.g. SAMPLEREPO_vX.Y) so when a new version of a given repo is available, its filename changes and you need to install a new zip. Isn't it?
I understand I have some confusion about that, that's why I would like to go a bit deeper into that.
Posts: 295
Joined: Aug 2014
Reputation:
6
Repo you install in kodi are linked to an online source, repo are also automatically updated.
Posts: 13,684
Joined: Mar 2010
Reputation:
506
PatK
Team-Kodi Member
Posts: 13,684
Goes by versions numbers, should you have the same, no update, highest rules and not updated unless set for auto.
Posts: 90
Joined: May 2014
Reputation:
6
I recommend you disable auto updates if you have many repos for the same addon it is better you do the update manually in that case you can choose from which repo to update the addon
Posts: 59
Joined: Dec 2008
Reputation:
0
Thanks DarrenHill. Actually it already happen to me to experiment the negative aspects of repos. I suppose that some kind of official "store" would be the best solution. Something like Android or iOS stores, or even the Chrome extensions place. A single place collecting addons as single istance. If you want your addon to be shared you have to publish it there.
But I suspect that maybe it is not as simple as that...
Posts: 2,730
Joined: Jan 2012
Reputation:
86
The "official store" is essentially the Official Kodi Repository. 3rd party add-ons can apply to be included but they must follow specific policies, rules and conditions of inclusion.
It's comparable to an extent, how app stores work on operating systems such as Android and iOS.
Posts: 12,455
Joined: Oct 2014
Reputation:
600
No it isn't that simple, for several reasons.
The closest we have is the official repo (the one built into Kodi) but there are several add-ons which whilst good, legitimate and supported aren't in there, either as something about them doesn't allow it (there are rules to what can be included) or the author just doesn't want them there and prefers them in their own repo. Also own repos have their place for things like beta-test versions (either for upcoming new features, or for features specific to beta versions of Kodi itself) and some more specialist add-ons that would perhaps not be for wider public consumption.
There has been some suggestion in the past to have add-on updates limited to the repo that they were installed from, but to my knowledge nothing ever came of that in terms of actually implementing anything.
Posts: 12,455
Joined: Oct 2014
Reputation:
600
Add-ons can already be installed from zip files like that. But you lose the auto update, and plus your have a while lot more individual files to add-on and maintain.
That's not too say it wouldn't work, but it's more complex.
Posts: 90
Joined: May 2014
Reputation:
6
it wil be nice to add an option for the user to choose from which repo the addon gets the autoupdate .