2016-02-17, 21:45
I've been fine tuning my Android TV box and have it working fairly well after loading custom firmware, replacing a library file, installing a custom version of Kodi, etc. One of the issues, though, is that the gui settings are often lost when rebooting (apparently due to cache clearing, specific to Android). I have created an Android script to copy the guisettings.xml file to a temporary file location, and another script to automatically copy it back to the Kodi userdata folder on reboot to ensure that the settings are put back. However, each time that I make a change to the gui settings, I have to manually run the first script to backup the current settings. Is there any way that I can trigger the initial copy script based on shutdown/close of Kodi so I don't have to manually run the script to save the changes? I've been googling for a few days and haven't found a viable method.
Any thoughts would be greatly appreciated!
Any thoughts would be greatly appreciated!