mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
closes #2 - added call to update the local addon folder after a restore operation
This commit is contained in:
parent
c5008dd84d
commit
0081169d11
@ -144,6 +144,9 @@ class XbmcBackup:
|
|||||||
#write list from remote to local
|
#write list from remote to local
|
||||||
self.writeFiles(allFiles,self.remote_path,self.local_path)
|
self.writeFiles(allFiles,self.remote_path,self.local_path)
|
||||||
|
|
||||||
|
#call update addons to refresh everything
|
||||||
|
xbmc.executebuiltin('UpdateLocalAddons')
|
||||||
|
|
||||||
def writeFiles(self,fileList,source,dest):
|
def writeFiles(self,fileList,source,dest):
|
||||||
self.filesTotal = len(fileList)
|
self.filesTotal = len(fileList)
|
||||||
self.filesLeft = self.filesTotal
|
self.filesLeft = self.filesTotal
|
||||||
|
Loading…
Reference in New Issue
Block a user