mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix end events for mqtt (#4647)
This commit is contained in:
parent
fee3418e60
commit
bc52fc1e79
@ -720,7 +720,7 @@ class TrackedObjectProcessor(threading.Thread):
|
|||||||
"after": obj.to_dict(),
|
"after": obj.to_dict(),
|
||||||
"type": "end",
|
"type": "end",
|
||||||
}
|
}
|
||||||
self.dispatcher.publish("/events", json.dumps(message), retain=False)
|
self.dispatcher.publish("events", json.dumps(message), retain=False)
|
||||||
|
|
||||||
self.event_queue.put(("end", camera, obj.to_dict(include_thumbnail=True)))
|
self.event_queue.put(("end", camera, obj.to_dict(include_thumbnail=True)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user