mirror of
				https://github.com/robweber/xbmcbackup.git
				synced 2025-10-31 09:31:02 +01:00 
			
		
		
		
	modify select display to show recursive value for included folders
This commit is contained in:
		| @@ -119,15 +119,15 @@ class AdvancedBackupEditor: | |||||||
|         rootPath = backupSet['root'] |         rootPath = backupSet['root'] | ||||||
|         utils.log(rootPath) |         utils.log(rootPath) | ||||||
|         while(optionSelected != -1): |         while(optionSelected != -1): | ||||||
|             options = [utils.getString(30120),utils.getString(30135),utils.getString(30121) + ": " + rootPath] |             options = [xbmcgui.ListItem(utils.getString(30120),"Exclude a specific folder from this backup set"),xbmcgui.ListItem(utils.getString(30135),"Include a specific folder to this backup set"),xbmcgui.ListItem(rootPath,utils.getString(30121))] | ||||||
|  |  | ||||||
|             for aDir in backupSet['dirs']: |             for aDir in backupSet['dirs']: | ||||||
|                 if(aDir['type'] == 'exclude'): |                 if(aDir['type'] == 'exclude'): | ||||||
|                     options.append(utils.getString(30129) + ': ' + self._cleanPath(rootPath,aDir['path'])) |                     options.append(xbmcgui.ListItem(self._cleanPath(rootPath,aDir['path']),"%s: %s" % ("Type",utils.getString(30129)))) | ||||||
|                 elif(aDir['type'] == 'include'): |                 elif(aDir['type'] == 'include'): | ||||||
|                     options.append(utils.getString(30134) + ': ' + self._cleanPath(rootPath,aDir['path'])) |                     options.append(xbmcgui.ListItem(self._cleanPath(rootPath,aDir['path']),"%s: %s | %s: %s" % ("Type",utils.getString(30134),"Recursive",str(aDir['recurse'])))) | ||||||
|  |  | ||||||
|             optionSelected = self.dialog.select(utils.getString(30122) + ' ' +  name,options) |             optionSelected = self.dialog.select(utils.getString(30122) + ' ' +  name,options,useDetails=True) | ||||||
|  |  | ||||||
|             if(optionSelected == 0 or optionSelected == 1): |             if(optionSelected == 0 or optionSelected == 1): | ||||||
|                 #add a folder, will equal root if cancel is hit |                 #add a folder, will equal root if cancel is hit | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rob Weber
					Rob Weber