From 8b1a6e02d1b30ad753cb33ed6f9c512692e9b1b9 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 5 Aug 2023 18:48:22 -0600 Subject: [PATCH] Fix audio filter config --- frigate/events/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 72333bc8a..911013a38 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -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)