From f8c00b473f493cc6a1d8fc3e66aed0b2aa9b0f41 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Thu, 23 Oct 2014 09:41:10 -0500 Subject: [PATCH] added userdata/library to config path --- resources/lib/backup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 58de387..51f437b 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -193,6 +193,9 @@ class XbmcBackup: fileManager.addFile("-" + xbmc.translatePath('special://home/userdata/peripheral_data')) fileManager.walkTree(xbmc.translatePath('special://home/userdata/peripheral_data')) + fileManager.addFile('-' + xbmc.translatePath('special://home/userdata/library')) + fileManager.walkTree(xbmc.translatePath('special://home/userdata/library')) + #this part is an oddity dirs,configFiles = self.xbmc_vfs.listdir(xbmc.translatePath('special://home/userdata/')) for aFile in configFiles: @@ -330,6 +333,9 @@ class XbmcBackup: fileManager.addFile('-' + self.remote_vfs.root_path + "userdata/peripheral_data") fileManager.walkTree(self.remote_vfs.root_path + "userdata/peripheral_data") + fileManager.addFile('-' + self.remote_vfs.root_path + "userdata/library") + fileManager.walkTree(self.remote_vfs.root_path + "userdata/library") + #this part is an oddity dirs,configFiles = self.remote_vfs.listdir(self.remote_vfs.root_path + "userdata/") for aFile in configFiles: