@
gilsonsjc
Quote:There were still some settings that were not properly backed up (or restored). They are:
My settings came back on Standard level instead of Expert
Settings/Interface/Skin/Configure Skin/Main menu items selections were not ok
Settings/Player/Language/Download services/Languages to download subtitles for - it showed only one out of the three languages I had there before
On video playing: Settings/Video Settings/View Mode - I had it set to "Strech 16:9" as default for all videos but it came back as "Normal"
Would you please check? And is there any way I can install the latest back up add-on version without having to download zip files (like adding another repo)? Thank you!
Thanks for following up on your progress. I'm not sure where the toggle for "standard" vs "expert" is actually stored within Kodi so I don't know if that particular setting will come back. Anyone with more knowledge on this feel free to chime in here.
Right now the only settings type items you can get restored are things that are part of the guisettings.xml file - that also exist as part of the JSON Settings.GetSettings() and SettingsSetSettingValue() functions.
Skin configurations are actually stored with the addon, so if you restore the addon_data folder, reactivate the skin (if not default) and restart Kodi they should come back. This addon cannot set them for you. I realize some of these items are a pain but that is just a by product of the module nature of Kodi. I've had issues in the past restoring specific skins where they use "helper" addons that in turn have their own settings. Just a matter of getting the right addon_data in the right spot.
The video stretch setting should have come over, not sure why it didn't. If you do a restore in debug mode there is a log entry for every updated setting. The way these are calculated is to compare the Kodi defaults to what you have in your restore files. Where they differ the setting is changed. This would tell you exactly what was changed, it will be at the very end of a restore operation.
There is not a place where this addon is stored outside of the main Kodi repo (at least that I know of, possible it's being replicated to 3rd party repos from GitHub I'm not aware of). When Matrix lands there will be an updated version included in the Matrix Python3 repo. Honestly the issue with versions at the moment has to do with missed windows for when addons in different branches can be updated and I just missed the cutoff, more my problem than anyone else's really. Hope some of this helps.
@
Skirge01
Quote:Also, when I went to restore, I instinctively selected to restore every option listed. However, I don't use profiles, so that folder was never created in the backup and the restore threw up an error about the missing profiles, then failed to actually restore. I'm wondering if you think it might make sense to handle this a bit differently. Two alternatives come to mind. Alternative #1: Notify the user about the missing profiles (as it currently does), but ask if they want to restore anyway, which is what I would have done. Alternative #2: Since we first have to select the backup file to restore, what about some code to check what was actually backed up and only present those options to the user? Maybe it could even gray them out with a "(none found)" after the option? I have no clue what's possible from a Kodi standpoint, so these may not be at all feasible. Just some thoughts.
Thanks for the feedback. In the latest versions of this addon (1.5.0 +) what you're suggested is exactly how things will work. When restoring you get a list of folders that actually exist as part of the restore, and then you can select from those options. If you've changed your backup settings between backups (say you only do a full "addons" backup once a month or something) you'll only get presented with folders that exist in the archive you've selected to restore. This should eliminate any confusion. Download the newest from GitHub, keep in mind you'll need this version for
Krypton or Leia and this version for
Matrix.
@
themusj
Sorry you had so many issues getting your Backups to both take a backup and then a restore. Reading through your posts it seems a lot of your initial problems are due to permissions issues trying to write to either flash storage or your network storage device. After that getting your settings to work properly after a restore also seemed to be an issue. Without knowing the version of Kodi you're running and the version of this addon you're using I can't speculate too much on exactly where your problems may lie. Common issues are write permissions for the Kodi process (this is very common on Android where write permissions sometimes need to be explicitly given per app) and issues with guisettings restores. Often these can be fixed by renaming the guisettings.xml.restored file while Kodi is not running.
Glad you got things work. The skin refresh you mention is a key piece since skin settings are stored in the addon_data folder. Just going to the default skin and back, or restarting Kodi can sometimes get these to be read properly. Any specific questions let me know.