08-26-2019, 01:50 PM
Raspberry Pi Foundation recommends fresh image when a new version of Raspbian is released. Scroll down to the "How do I get it?" section. I simply follow that same practice when releasing moOde.
https://www.raspberrypi.org/blog/buster-...-raspbian/
Generally, within a major release of moOde we provide in-place updates which preserve settings. There is also the moodecfg.txt auto-config option. This is documented in the Setup guide.
https://github.com/moode-player/moode/bl.../setup.txt
Wrt save/restore configuration settings, its not as simple as export/import the SQL tables because many of the settings in the SQL tables have corresponding settings in .conf files. The actual process would need to be somewhat like the existing auto-configure where each setting is processed using the code that updates the corresponding .conf file.
Another complication involves how to handle cases where the new version of Raspbian changes the location or structure of .conf files that moOde uses. This happened in multiple areas going from Stretch to Buster.
We might be able to enhance the existing auto-configure option to cover more settings. I'm open to suggestions.
https://www.raspberrypi.org/blog/buster-...-raspbian/
Generally, within a major release of moOde we provide in-place updates which preserve settings. There is also the moodecfg.txt auto-config option. This is documented in the Setup guide.
https://github.com/moode-player/moode/bl.../setup.txt
Wrt save/restore configuration settings, its not as simple as export/import the SQL tables because many of the settings in the SQL tables have corresponding settings in .conf files. The actual process would need to be somewhat like the existing auto-configure where each setting is processed using the code that updates the corresponding .conf file.
Another complication involves how to handle cases where the new version of Raspbian changes the location or structure of .conf files that moOde uses. This happened in multiple areas going from Stretch to Buster.
We might be able to enhance the existing auto-configure option to cover more settings. I'm open to suggestions.