Updates remove skin customisations

I’m running OSMC on a Raspberry Pi model 2 using the confluence skin. I have customised the skin (specifically the VideoFullScreen.xml file). However every time I update OSMC the file gets re-written to the default values.

How can I get my customised file to persist through updates?

Backup your modified xml files and overwrite after each update.

Or would suggest modding a different skin than confluence so it wont get reset after each osmc update.

Titan and aeon mq 6 are great skins to try out.

Chattr +i path to file

Have you tested this ? This will most likely cause the mediacenter package to fail to update as dpkg should verify files are correctly replaced.

To avoid any update problems I added a cronjob to replace the default file with my custom file.

sudo crontab -e

Add to last line:
00 01 * * * sudo cp /usr/share/kodi/addons/skin.confluence/720p/VideoFullScreen.xml.custom /usr/share/kodi/addons/skin.confluence/720p/VideoFullScreen.xml

Copy skin.confluence in to ~/.kodi/addons

User version should override system version and we will never overwrite it.

This will break the apt-get dist-upgrade process.