Posts: 23
Joined: Jul 2013
Reputation:
2
I just did some testing since I had a complete backup of my .kodi folder available. So I could revert the update and do it again multiple times. After a few tries I think I figured out the problem: It seems like the addon process is completely removing the addons/skin.copacetic/ folder before extracting the newer version (I added some empty test files into the folder and after the update they were all gone). I don't know if this is a common behavior with addon updates or if there is something special to my configuration. But of cause this explains why my menu configuration gets replaced with the default one even if you don't include the file into your addon.
Is there a way to move the script-skinshortcuts-includes.xml to userdata/addon_data/skin.copacetic/ - this seems to me to be the proper place for a configuration file (this is also where the other copacetic settings are stored) and it would probably also allow copacetic to work on a multi-user-system?
Posts: 18,111
Joined: Aug 2007
Reputation:
700
Hitcher
Team-Kodi Member
Posts: 18,111
2024-04-27, 00:01
(This post was last modified: 2024-04-27, 00:01 by Hitcher.)
Maybe the reason it's getting deleted is precisely because it's not included by default, otherwise we'd have heard of this problem before now as skin shortcuts has been used in many skins for years now.
Posts: 23
Joined: Jul 2013
Reputation:
2
2024-04-27, 08:58
(This post was last modified: 2024-04-27, 08:58 by AllesMeins. Edited 1 time in total.)
Yeah, clearing out an addons folder before updating makes kind of sense - otherwise old files that are no longer used in an updated version would stick around forever. But that leaves the question: if it gets removed if it's not included and gets replaced if you include it: how do you make the configuration stick? How do other skins do it? Do you know another skin that uses skin shortcuts from the top of your head? Than I'll test how that behaves on my system.
Posts: 23
Joined: Jul 2013
Reputation:
2
I think I figured out what is happening, although I'm still not sure why this is a problem. It seems like my Kodi is jumping between repositorys pulling the update either from realcopacetic's repo or from the official repo. And somehow this leads to all the files getting purged. I did some testing and forced the update from the same repo and this seems to work fine. I'll have to observe it some more (espacially because I don't understand why it is switching repos in the first place) but for now with doing the updates manually I hope I'll be fine. I'll let you know if there are any problems when you push the next regular update. Thank you all for trying to help me!