mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
added home window properties
This commit is contained in:
parent
4312625003
commit
7f42129606
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user