mirror of
				https://github.com/robweber/xbmcbackup.git
				synced 2025-11-04 03:02:16 +01:00 
			
		
		
		
	closes #2 - added call to update the local addon folder after a restore operation
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user