Kodi doesnt store settings properly
#1
The other day I realized that Kodi doesnt store settings properly when I chance them. After a reboot of my system, tgey sometimes get reverted back. Anybody ever experienced the same? Where should kodi even store the settings, and shouldn't they get saved immediately?

Heres some info about my system:

21:58:25 T:139902705756480 NOTICE: Starting Kodi (16.1 Git:c327c53). Platform: Linux x86 64-bit
21:58:25 T:139902705756480 NOTICE: Using Release Kodi x64 build
21:58:25 T:139902705756480 NOTICE: Kodi compiled Apr 25 2016 by GCC 5.3.1 for Linux x86 64-bit version 4.4.6 (263174)
21:58:25 T:139902705756480 NOTICE: Running on Ubuntu 16.04 LTS, kernel: Linux x86 64-bit version 4.5.2-040502-generic
21:58:25 T:139902705756480 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
21:58:25 T:139902705756480 NOTICE: Host CPU: Intel® Pentium® CPU G4400T @ 2.90GHz, 2 cores available

Thanks!
Reply
#2
In linux they are stored under ~/.kodi/userdata/

For most of kodi's native data (ie stuff you set in kodi's settings menu), they are in guisettings.xml

For addon settings they are in addon-data/addonname/

There is a current bug in this I think, try changing to another skin, then back again, before closing kodi. I think this forces a save.

I think most of guisettings.xml is saved on exit, if kodi crashes, this might not happen.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
Reboot from within kodi and all should be fine.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
(2016-06-28, 08:17)fritsch Wrote: Reboot from within kodi and all should be fine.

So you are telling me that I need to reboot my server from within an application and can't simply do a sigterm?
Reply
#5
you need to ensure that kodi gets stopped properly. Sigterm is not handled in kodi, so it won't shutdown correctly and save settings.
Reply
#6
(2016-06-28, 11:51)pwriesnik Wrote:
(2016-06-28, 08:17)fritsch Wrote: Reboot from within kodi and all should be fine.

So you are telling me that I need to reboot my server from within an application and can't simply do a sigterm?

This is what I am telling you. Alternatively implement the sigterm handling.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
(2016-06-28, 12:32)fritsch Wrote: This is what I am telling you. Alternatively implement the sigterm handling.

I assume quitting kodi before shutting down my server with the built-in function "Quit" should work then.
Reply
#8
Yeah - that works as expected. You talked of a sigterm above and got answers to that.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
(2016-06-28, 13:53)fritsch Wrote: Yeah - that works as expected. You talked of a sigterm above and got answers to that.

I know.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi doesnt store settings properly0