added a disclaimer for breaking changes

This commit is contained in:
Rob Weber 2019-02-04 13:23:12 -06:00
parent 85306f9469
commit dcc8482d73
3 changed files with 12 additions and 0 deletions

View File

@ -516,3 +516,7 @@ msgstr ""
msgctxt "#30131" msgctxt "#30131"
msgid "Choose Sets to Restore" msgid "Choose Sets to Restore"
msgstr "" msgstr ""
msgctxt "#30132"
msgid "Version 1.1.4 requires you to setup your file selections again - this is a breaking change"
msgstr ""

View File

@ -4,6 +4,7 @@
<setting id="compress_backups" type="bool" label="30087" default="false" /> <setting id="compress_backups" type="bool" label="30087" default="false" />
<setting id="backup_rotation" type="number" label="30026" default="0" /> <setting id="backup_rotation" type="number" label="30026" default="0" />
<setting id="progress_mode" type="enum" label="30022" lvalues="30082|30083|30084" default="0" /> <setting id="progress_mode" type="enum" label="30022" lvalues="30082|30083|30084" default="0" />
<setting id="upgrade_notes" type="number" label="upgrade_notes" visible="false" default="0" />
</category> </category>
<category id="backup_path" label="30048"> <category id="backup_path" label="30048">
<setting id="remote_selection" type="enum" lvalues="30018|30019|30027|30098" default="0" label="30025"/> <setting id="remote_selection" type="enum" lvalues="30018|30019|30027|30098" default="0" label="30025"/>

View File

@ -8,6 +8,8 @@ import resources.lib.utils as utils
from resources.lib.croniter import croniter from resources.lib.croniter import croniter
from resources.lib.backup import XbmcBackup from resources.lib.backup import XbmcBackup
UPGRADE_INT = 1 #to keep track of any upgrade notifications
class BackupScheduler: class BackupScheduler:
monitor = None monitor = None
enabled = "false" enabled = "false"
@ -53,6 +55,11 @@ class BackupScheduler:
def start(self): def start(self):
#display upgrade messages if they exist
if(int(utils.getSetting('upgrade_notes')) < UPGRADE_INT):
xbmcgui.Dialog().ok(utils.getString(30010),utils.getString(30132))
utils.setSetting('upgrade_notes',str(UPGRADE_INT))
#check if a backup should be resumed #check if a backup should be resumed
resumeRestore = self._resumeCheck() resumeRestore = self._resumeCheck()