This commit is contained in:
Rob Weber 2015-05-08 19:40:28 -05:00
parent 09b6010738
commit 98a369db6f
3 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,7 @@ Version 1.0.5
added google drive support
make compression setting compatible with python 2.6 and above
added settings dialog option - thanks ed_davidson
Version 1.0.4

View File

@ -29,14 +29,18 @@ if("mode" in params):
#if mode wasn't passed in as arg, get from user
if(mode == -1):
#figure out if this is a backup or a restore from the user
mode = xbmcgui.Dialog().select(utils.getString(30010) + " - " + utils.getString(30023),[utils.getString(30016),utils.getString(30017)])
mode = xbmcgui.Dialog().select(utils.getString(30010) + " - " + utils.getString(30023),[utils.getString(30016),utils.getString(30017),utils.getString(30099)])
#check if program should be run
if(mode != -1):
#run the profile backup
backup = XbmcBackup()
if(backup.remoteConfigured()):
if(mode == 2):
#open the settings dialog
utils.openSettings()
elif(backup.remoteConfigured()):
if(mode == backup.Restore):
#get list of valid restore points

View File

@ -90,4 +90,5 @@
<string id="30096">Old Zip Archive could not be deleted</string>
<string id="30097">This needs to happen before a backup can run</string>
<string id="30098">Google Drive</string>
<string id="30099">Open Settings</string>
</strings>