Posts: 258
Joined: Jun 2013
Reputation:
8
Hello folks.
I have been successful in compiling Kodi for windows myself and creating my own install (I think). Can someone tell me how to throw an extra addon in there and specify it go into the Userdata directory instead of the Kodi working directory?
Currently I have the addon and the associated Repo copied to addons directory so i.e. D:\Kodi\Addons. Kodi compiles and everything comes up and works. However the addon is in the Kodi working directory and Im afraid it won't update properly as updates are released.
Any help GREATLY appreciated.
Posts: 1,506
Joined: Nov 2013
It will update just fine. Userdata takes precedense so when an update happens that is downloaded to userdata and overrides the shipped version.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
any addon that is shipped/compiled into Kodi cannot be disabled or uninstalled. You can only uninstall the updates iirc.
PVR addons are the only exception that can be disabled although they are installed by default
Posts: 1,506
Joined: Nov 2013
i think that should be handled through a first-run thingie in general. since there is a 'UpdateLocalAddons' builtin i think you should have the tools needed.
the community would probably be most interested in the outcome if you create something.
Posts: 258
Joined: Jun 2013
Reputation:
8
Alright, So I fixed it in a slightly unconventional way. Seems that by tweaking the version number down of the addon that I include in the initial install, Once installed the addon comes runs, Then few minutes later it updates. After it updates and starts running off the "Latest Version" in the userdata directory, I can enable/disable like usual.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
hmm the disable shouldn't still be possible because they should be considered "system" addons
Posts: 258
Joined: Jun 2013
Reputation:
8
Alright, So im not sure why this works. I thought maybe for some reason it might be attempting to fire up both versions, But if it is it's not showing in the logs and not erroring our.
Then I was afraid maybe doing this in the updated nightly or such might break this solution, But thus far it seems to work be it master or the 14.1 stable.
Still with you telling me this shouldn't work, I fear for the stability of this method. I think I may dive into my other solution, Do you think the other idea Is sound or should I continue to find something else?