Skip to content

Commit

Permalink
Add camera name to audio debug line (#12799)
Browse files Browse the repository at this point in the history
* Add camera name to audio debug line

* Formatting
  • Loading branch information
NickM-27 authored and hawkeye217 committed Aug 9, 2024
1 parent 7e1ba9e commit 79fa8f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frigate/events/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ def detect_audio(self, audio) -> None:
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
Expand Down

0 comments on commit 79fa8f8

Please sign in to comment.