mirror of
				https://github.com/Jonny007-MKD/OTR-DecodeAll
				synced 2025-11-03 16:15:36 +01:00 
			
		
		
		
	Moved logLevel before addLabel
This commit is contained in:
		
							parent
							
								
									78f86eba63
								
							
						
					
					
						commit
						b25f240e4e
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										10
									
								
								config
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								config
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -13,6 +13,11 @@ function funcConfigPre {	# These values are set at the beginning of the script
 | 
			
		|||
 | 
			
		||||
	kodiUrl="user:password@localhost:8080"							# Specify user, password and port for Kodi JSON API (HTTP interface)
 | 
			
		||||
 | 
			
		||||
	logFile="/home/deluged/otrDecodeAll.log"						# path to the log file
 | 
			
		||||
	# log levels:	0=off; 1=error; 2=warn; 3=info; 4 debug; 5 verbose debug
 | 
			
		||||
	logLevel=2														# level, which messages shall be written into the log.
 | 
			
		||||
	echoLevel=5														# level, which messages shall be written to stdout.
 | 
			
		||||
 | 
			
		||||
	torrentDb="/home/deluged/torrents.db"							# File with file names and labels (see at github: OTR-TorrentDb) (optional)
 | 
			
		||||
	# Add label to directory mapping. (optional)
 | 
			
		||||
	#   1st arg: Label
 | 
			
		||||
| 
						 | 
				
			
			@ -23,11 +28,6 @@ function funcConfigPre {	# These values are set at the beginning of the script
 | 
			
		|||
	addLabel "docu"		"Dokumentationen"
 | 
			
		||||
	addLabel "tvserie"	"Serien"			true
 | 
			
		||||
 | 
			
		||||
	logFile="/home/deluged/otrDecodeAll.log"						# path to the log file
 | 
			
		||||
	# log levels:	0=off; 1=error; 2=warn; 3=info; 4 debug; 5 verbose debug
 | 
			
		||||
	logLevel=2														# level, which messages shall be written into the log.
 | 
			
		||||
	echoLevel=5														# level, which messages shall be written to stdout.
 | 
			
		||||
 | 
			
		||||
	umask 0002														# Set permissions 775/664 per default
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue