From 02d852a7e990bcecb88cca53ab9178b25e575c87 Mon Sep 17 00:00:00 2001 From: Rob <1572423+robweber@users.noreply.github.com> Date: Sun, 17 Jan 2021 14:54:10 -0600 Subject: [PATCH] Matrix Settings (#179) * added settings levels --- addon.xml | 9 +- changelog.md | 8 +- .../resource.language.en_gb/strings.po | 4 + resources/settings.xml | 422 ++++++++++++++++-- 4 files changed, 391 insertions(+), 52 deletions(-) diff --git a/addon.xml b/addon.xml index 61e8e1c..ad96059 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="Backup" version="1.6.5~beta1" provider-name="robweber"> @@ -89,11 +89,8 @@ resources/images/screenshot3.jpg resources/images/screenshot4.jpg - Version 1.6.4 - - updated deprecated Kodi python methods - - added better system settings/restore functionality (enabled by default) - - fixed Dropbox oauth import - - fixed xbmcgui.Dialog().ok() parameter list + Version 1.6.5 Beta 1 + - updated to new settings format with levels diff --git a/changelog.md b/changelog.md index e05d6bf..5590e35 100644 --- a/changelog.md +++ b/changelog.md @@ -4,13 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [Unreleased](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.4...robweber:matrix) + +### Changed + +- updated ```settings.xml``` to match new [Kodi settings syntax](https://kodi.wiki/view/Add-on_settings_conversion), including visibility levels + ## [Version 1.6.4](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.3...robweber:matrix-1.6.4) - 2020-12-23 ### Added - merged duplicate copy code into ```_copyFile``` method - added method to backup/restore Kodi settings via the GetSettings/SetSettingValue JSON methods in the validation file -- added setting to always restore settings or prompt at the time of backup +- added setting to always restore settings or prompt at the time of backup ### Changed diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 9f1fa0b..5a3c79e 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -592,3 +592,7 @@ msgstr "" msgctxt "#30150" msgid "Restore saved Kodi system settings from backup?" msgstr "" + +msgctxt "#30151" +msgid "Enable Verbose Logging" +msgstr "" diff --git a/resources/settings.xml b/resources/settings.xml index 18ba87d..2d9dda4 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -1,46 +1,378 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ + + + + 0 + false + + + + + 0 + 0 + + 30026 + + + + + 2 + false + + + + + 1 + 0 + + + + + + + + + + + + + + 3 + false + + + + + 4 + 1 + false + + upgrade_notes + + + + + + + + + 0 + 0 + + + + + + + + + + + + 0 + + + true + + + 0 + + + 30020 + + + + + 0 + + + true + + + 1 + + + 30024 + + + + + 0 + + + true + + + 2 + + + 30028 + + + + 0 + + + true + + + 2 + + + 30029 + + + + + 0 + + + 2 + + + RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=authorize_cloud,provider=dropbox) + + + + + + + 2 + + + 2 + + + RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=remove_auth) + + + + + + + + + 2 + 0 + + + + + + + + + + + 0 + false + + 0 + + + + + 0 + true + + 0 + + + + + 0 + true + + 0 + + + + + 0 + false + + 0 + + + + + 0 + true + + 0 + + + + + 0 + false + + 0 + + + + + 0 + true + + 0 + + + + + 0 + true + + 0 + + + + + + 2 + + + 1 + + + RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_editor) + + + + 2 + + + 1 + + + RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_copy_config) + + + + + + + + + 0 + false + + + + + 0 + 1 + + + + + + + + + + + true + + + + + + 0 + 00:00 + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + 4 + true + + + + + + 0 + 0 + + + + + + + + + + + + + 2 + true + + + + + + 0 + 0 0 * * * + + false + + + 4 + true + + + 30064 + + + + + 1 + false + + true + + + + + + 1 + false + + true + + + + + +