Skip to content

NVR with realtime local object detection for IP cameras

Add camera name to audio debug line (#12799)

Nicolas Mowenad5c3741e976
diff --git a/frigate/events/audio.py b/frigate/events/audio.py
index fca16f364a..471d403b81 100644
--- a/frigate/events/audio.py
+++ b/frigate/events/audio.py
@@ -209,7 +209,9 @@ class AudioEventMaintainer(threading.Thread):
audio_detections = []
for label, score, _ in model_detections:
- logger.debug(f"Heard {label} with a score of {score}")
+ logger.debug(
+ f"{self.config.name} heard {label} with a score of {score}"
+ )
if label not in self.config.audio.listen:
continue