ui settings restore upgrade

* added ability to export/save settings as json using GetSettings

* added generic copyFile method instead of duplicating

* copy and load settings file after file restore (right now only reads)

* set settings values from backup when differ than current

* store settings as part of validation file

* prompt for settings restore or set always via toggle

* unused import

* added new strings for settings restore

* updated changelog

* fix pep8 syntax

* swap setting to always prompt instead of always restore (invert)
This commit is contained in:
Rob
2020-12-03 14:08:25 -06:00
committed by GitHub
parent b470412b4f
commit 71c8d9ae54
6 changed files with 104 additions and 89 deletions

View File

@@ -7,9 +7,9 @@
<import addon="script.module.future" version="0.18.2+matrix.1" />
<import addon="script.module.dropbox" version="9.4.0" />
</requires>
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.service" library="service.py" />
<extension point="xbmc.addon.metadata">
<summary lang="ar_SA">إنسخ إحتياطياً قاعده بيانات إكس بى إم سى وملفات اﻹعدادات فى حاله وقوع إنهيار مع إمكانيه اﻹسترجاع</summary>
@@ -91,6 +91,7 @@
</assets>
<news>Version 1.6.4
- updated deprecated Kodi python methods
- added better system settings/restore functionality (enabled by default)
</news>
</extension>
</addon>