If anyone has any idea about the following, please share. Both installations run on the same old laptop, connect to the same wireless network, use the same development repo for twitch etc. Maybe some kodi dev has a clue...
Part 1, kodi 18.9 (libreelec 9.2.6 x64).
Kodi updated twitch to 2.6.0-alpha2 (I think this was the the first dev version of 2.6.x that reached the development repo) and python-twitch (script.module.python.twitch) to 2.0.21-alpha1. I then realised that the new version demands an oauth key to work, so I uninstalled it, disabled the dev repo and reinstalled the one from the main repo, which still works without any oauth keys.
And although the dev repo is disabled (not removed, because I want it for future usage), kodi still notifies me that there is a new version available for both the above addons and downloads the zips from the main repo as seen from their versions below!
Anything inside .kodi/addons/packages is deleted on every boot via autostart.sh
Code:
# cat .config/autostart.sh | grep packages
rm /storage/.kodi/addons/packages/*.zip
and yet those 2 are downloaded again, on every boot, although they are already installed and are on the same versions!
Code:
# ls .kodi/addons/packages/
plugin.video.twitch-2.5.12.zip script.module.python.twitch-2.0.19.zip
# cat .kodi/addons/*.twitch/addon.xml | grep "addon id"
<addon id="plugin.video.twitch" version="2.5.12" name="Twitch" provider-name="anxdpanic, A Talented Community">
<addon id="script.module.python.twitch" name="python-twitch for Kodi" version="2.0.19" provider-name="anxdpanic, A Talented Community">
It also says (in settings > addons > available updates) that the latest versions of the addons are 2.6.0-alpha2 and 2.0.21-alpha1 respectively, which is completely wrong as you can see from the repo's addons.xml here.
https://panicked.xyz/repository/twitch/p...addons.xml
Why is it stuck... back in time and why does it insist on downloading the same zips over and over?
Part 2, kodi 19.3 (libreelec 10.0.1 x64). I know about the new setting of kodi 19 that allows updating from any repo (settings > system > addons > update official addons from> any repositories) and I have already enabled it.
In order to update twitch to the new versions from that repo, I had to search for twitch in the addons, select versions (the confluence skin says "versions" for some reason) and then select the new version! As for python-twitch, I had to manually download the new version from github and install it by hand, because script.module.* addons are not listed anymore in kodi (since v17 that is). And all that obviously defeats the purpose of using the repo for the updates and it gets annoying now that the updates for twitch and python-twitch arrive almost every day.
For me, it seems that the above setting does not work at all for that repo and all I can think of is this bit in the log, i.e. the repo not being in https, but can someone confirm?
Code:
2022-02-20 13:01:12.876 T:603 WARNING <general>: Repository add-on repository.twitch_development uses plain HTTP for add-on downloads in path http://panicked.xyz/repository/twitch/python3/zips/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
Relevant addons.xml from that part of the repo
https://panicked.xyz/repository/twitch/p...addons.xml