diff --git a/README.txt b/README.txt index 370fac2..633b412 100644 --- a/README.txt +++ b/README.txt @@ -9,6 +9,8 @@ In the addon settings you can define a remote path for the destination of your x On the Backup Selection page you can select which items from your user profile folder will be sent to the backup location. By default all are turned on except the Addon Data directory. +You can also define non-XBMC directories on your device. See "Custom Directories" for more information on how these are handled. + Scheduling: You can also schedule backups to be completed on a set interval via the scheduling area. When it is time for the backup to run it will be executed in the background. @@ -19,6 +21,10 @@ Running the Program: Running the program will allow you to select Backup or Restore as a running mode. Selecting Backup will push files to your remote store using the addon settings you defined. Selecting Restore will give you a list of restore points currently in your remote destination. Selecting one will pull the files matching your selection criteria from the restore point to your local XBMC folders. +Custom Directories: + +You can define custom directories that are not a part of your XBMC folder structure for backup. These create a custom_1_hash folder in your backup destination. The hash for these folders is very important. During a restore if the hash of the file path in Custom 1 does not match the hash in the restore folder it will not move the files. This is to prevent files from being restored to the wrong location in the event you change file paths in the addon settings. A dialog box will let you know if file paths do not match up. + Using Dropbox: diff --git a/addon.xml b/addon.xml index 3a0f316..355536c 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="XBMC Backup" version="0.3.5" provider-name="robweber"> diff --git a/changelog.txt b/changelog.txt index d2f9ded..ce1879f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 0.3.5 + +test of custom directories - only 1 at the moment + Version 0.3.4 added ability to take parameters via RunScript() or JSONRPC.Addons.ExecuteAddon() diff --git a/resources/lib/backup.py b/resources/lib/backup.py index bdbf305..8799afc 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -241,6 +241,9 @@ class XbmcBackup: self.xbmc_vfs.set_root(fileGroup['dest']) self.backupFiles(fileGroup['files'],self.remote_vfs,self.xbmc_vfs) + #call update addons to refresh everything + xbmc.executebuiltin('UpdateLocalAddons') + if(utils.getSetting('run_silent') == 'false' and not runSilent): self.progressBar.close()