mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 20:12:11 +03:00
correctly publish full array of audio detections in onConnect
This commit is contained in:
parent
5631d78adc
commit
0c7acdf09e
@ -244,7 +244,7 @@ class Dispatcher:
|
|||||||
json.dumps(self.embeddings_reindex.copy()),
|
json.dumps(self.embeddings_reindex.copy()),
|
||||||
)
|
)
|
||||||
self.publish("birdseye_layout", json.dumps(self.birdseye_layout.copy()))
|
self.publish("birdseye_layout", json.dumps(self.birdseye_layout.copy()))
|
||||||
self.publish("audio_detections", json.dumps(audio_detections[camera]))
|
self.publish("audio_detections", json.dumps(audio_detections))
|
||||||
|
|
||||||
def handle_notification_test() -> None:
|
def handle_notification_test() -> None:
|
||||||
self.publish("notification_test", "Test notification")
|
self.publish("notification_test", "Test notification")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user