Saiyato / volumio-kodi-plugin

Installation and configuration of Kodi on Volumio 2 images
30 stars 6 forks source link

Copy data to Volumio plugin dir #7

Closed Saiyato closed 7 years ago

Saiyato commented 7 years ago

by macmpi » Thu Mar 30 2017 17:41

@Saiyato, While investigating for possible Volumio user settings back-up/restore procedure (or plugin), I've been thinking about other Volumio plugins which may store plenty of custom data, such as...Kodi! If I understand correctly, all Kodi stuff (settings, add-ons, etc) naturally go into /home/kodi/.kodi

How-about if Kodi plugin install.sh would create (if none pre-existing) a data sub-directory in /data/configuration/miscellanea/Kodi/, and then symlink /home/kodi/.kodi into it? => all Kodi data would go inside that plugin folder, and eventual back-up/restore procedure would nicely bring all Kodi data back effortlessly...

Quite useful for re-imaged updates, so that all Kodi environment can be saved and restored. Makes sense?

Saiyato commented 7 years ago

Needs investigation, will check after I removed the archive from the installation script

Saiyato commented 7 years ago

It should be in the plugin now, initials tests show that the link works (Pi1B+ and Pi2)