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 Aug 6, 2024
1 parent 68905d2 commit 701f6eb
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 701f6eb

Please sign in to comment.