mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
added userdata/library to config path
This commit is contained in:
parent
3e32882afc
commit
f8c00b473f
@ -193,6 +193,9 @@ class XbmcBackup:
|
|||||||
fileManager.addFile("-" + xbmc.translatePath('special://home/userdata/peripheral_data'))
|
fileManager.addFile("-" + xbmc.translatePath('special://home/userdata/peripheral_data'))
|
||||||
fileManager.walkTree(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
|
#this part is an oddity
|
||||||
dirs,configFiles = self.xbmc_vfs.listdir(xbmc.translatePath('special://home/userdata/'))
|
dirs,configFiles = self.xbmc_vfs.listdir(xbmc.translatePath('special://home/userdata/'))
|
||||||
for aFile in configFiles:
|
for aFile in configFiles:
|
||||||
@ -330,6 +333,9 @@ class XbmcBackup:
|
|||||||
fileManager.addFile('-' + self.remote_vfs.root_path + "userdata/peripheral_data")
|
fileManager.addFile('-' + self.remote_vfs.root_path + "userdata/peripheral_data")
|
||||||
fileManager.walkTree(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
|
#this part is an oddity
|
||||||
dirs,configFiles = self.remote_vfs.listdir(self.remote_vfs.root_path + "userdata/")
|
dirs,configFiles = self.remote_vfs.listdir(self.remote_vfs.root_path + "userdata/")
|
||||||
for aFile in configFiles:
|
for aFile in configFiles:
|
||||||
|
Loading…
Reference in New Issue
Block a user