mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix audio filter config (#7401)
This commit is contained in:
		
							parent
							
								
									318ae28004
								
							
						
					
					
						commit
						fbed3fbb8b
					
				| @ -198,7 +198,7 @@ class AudioEventMaintainer(threading.Thread): | ||||
|                 if label not in self.config.audio.listen: | ||||
|                     continue | ||||
| 
 | ||||
|                 if score > (self.config.audio.filters or {}).get(label, {}).get( | ||||
|                 if score > dict((self.config.audio.filters or {}).get(label, {})).get( | ||||
|                     "threshold", 0.8 | ||||
|                 ): | ||||
|                     self.handle_detection(label, score) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user