diff --git a/changelog.txt b/changelog.txt index f899b7e..1777801 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,6 @@ Version 0.5.8.6 +show notification if some files failed check if destination is writeable - thanks war59312 Version 0.5.8.5 diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index a0d22f8..f0b39ae 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -83,4 +83,5 @@ Write Error Detected The destination may not be writeable Zip archive could not be copied + Not all files were copied diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 3cba560..dce1270 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -244,7 +244,11 @@ class XbmcBackup: for fileGroup in allFiles: self.xbmc_vfs.set_root(fileGroup['source']) self.remote_vfs.set_root(fileGroup['dest']) - self.backupFiles(fileGroup['files'],self.xbmc_vfs,self.remote_vfs) + filesCopied = self.backupFiles(fileGroup['files'],self.xbmc_vfs,self.remote_vfs) + + if(not filesCopied): + utils.showNotification(utils.getString(30092)) + utils.log(utils.getString(30092)) #reset remote and xbmc vfs self.xbmc_vfs.set_root("special://home/")