mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
closes #71
This commit is contained in:
parent
09b6010738
commit
98a369db6f
@ -2,6 +2,7 @@ Version 1.0.5
|
|||||||
|
|
||||||
added google drive support
|
added google drive support
|
||||||
make compression setting compatible with python 2.6 and above
|
make compression setting compatible with python 2.6 and above
|
||||||
|
added settings dialog option - thanks ed_davidson
|
||||||
|
|
||||||
Version 1.0.4
|
Version 1.0.4
|
||||||
|
|
||||||
|
@ -29,14 +29,18 @@ if("mode" in params):
|
|||||||
#if mode wasn't passed in as arg, get from user
|
#if mode wasn't passed in as arg, get from user
|
||||||
if(mode == -1):
|
if(mode == -1):
|
||||||
#figure out if this is a backup or a restore from the user
|
#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
|
#check if program should be run
|
||||||
if(mode != -1):
|
if(mode != -1):
|
||||||
#run the profile backup
|
#run the profile backup
|
||||||
backup = XbmcBackup()
|
backup = XbmcBackup()
|
||||||
|
|
||||||
if(backup.remoteConfigured()):
|
if(mode == 2):
|
||||||
|
#open the settings dialog
|
||||||
|
utils.openSettings()
|
||||||
|
|
||||||
|
elif(backup.remoteConfigured()):
|
||||||
|
|
||||||
if(mode == backup.Restore):
|
if(mode == backup.Restore):
|
||||||
#get list of valid restore points
|
#get list of valid restore points
|
||||||
|
@ -90,4 +90,5 @@
|
|||||||
<string id="30096">Old Zip Archive could not be deleted</string>
|
<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="30097">This needs to happen before a backup can run</string>
|
||||||
<string id="30098">Google Drive</string>
|
<string id="30098">Google Drive</string>
|
||||||
|
<string id="30099">Open Settings</string>
|
||||||
</strings>
|
</strings>
|
||||||
|
Loading…
Reference in New Issue
Block a user