closes #2 - added call to update the local addon folder after a restore operation

This commit is contained in:
robweber 2012-05-04 14:54:26 -05:00
parent c5008dd84d
commit 0081169d11

View File

@ -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