forked from Github/frigate
Add camera name to audio debug line (#12799)
* Add camera name to audio debug line * Formatting
This commit is contained in:
@@ -209,7 +209,9 @@ class AudioEventMaintainer(threading.Thread):
|
|||||||
audio_detections = []
|
audio_detections = []
|
||||||
|
|
||||||
for label, score, _ in model_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:
|
if label not in self.config.audio.listen:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user