mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Log camera name and volume in addition to label and score when hearing sound
This commit is contained in:
parent
c5819478d3
commit
eeb7e61543
@ -211,7 +211,7 @@ 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"Heard {label}; camera: {self.config.name}, score: {score}, volume: {rms}")
|
||||||
|
|
||||||
if label not in self.config.audio.listen:
|
if label not in self.config.audio.listen:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user