added home window properties

This commit is contained in:
robweberjr@gmail.com 2014-03-18 13:48:53 -05:00
parent 4312625003
commit 7f42129606

View File

@ -90,6 +90,10 @@ class XbmcBackup:
self.skip_advanced = True
def run(self,mode=-1,progressOverride=False):
#set windows setting to true
window = xbmcgui.Window(10000)
window.setProperty(utils.__addon_id__ + ".running","true")
#append backup folder name
progressBarTitle = utils.getString(30010) + " - "
if(mode == self.Backup and self.remote_vfs.root_path != ''):
@ -323,6 +327,9 @@ class XbmcBackup:
if(self.progressBar != None):
self.progressBar.close()
#reset the window setting
window.setProperty(utils.__addon_id__ + ".running","")
def backupFiles(self,fileList,source,dest):
utils.log("Writing files to: " + dest.root_path)
utils.log("Source: " + source.root_path)