mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Reduce zones for timeline (#8300)
This commit is contained in:
parent
c141362614
commit
823550eed3
@ -85,6 +85,7 @@ class TimelineProcessor(threading.Thread):
|
||||
if (
|
||||
prev_event_data["current_zones"] != event_data["current_zones"]
|
||||
and len(event_data["current_zones"]) > 0
|
||||
and not event_data["stationary"]
|
||||
):
|
||||
timeline_entry[Timeline.class_type] = "entered_zone"
|
||||
timeline_entry[Timeline.data]["zones"] = event_data["current_zones"]
|
||||
|
Loading…
Reference in New Issue
Block a user