mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Formatting
This commit is contained in:
parent
ad01b2653d
commit
ec916f0f96
@ -58,7 +58,11 @@ class ExternalEventProcessor:
|
|||||||
"sub_label": sub_label,
|
"sub_label": sub_label,
|
||||||
"camera": camera,
|
"camera": camera,
|
||||||
"start_time": now - camera_config.record.events.pre_capture,
|
"start_time": now - camera_config.record.events.pre_capture,
|
||||||
"end_time": now + duration + camera_config.record.events.post_capture if duration is not None else None,
|
"end_time": now
|
||||||
|
+ duration
|
||||||
|
+ camera_config.record.events.post_capture
|
||||||
|
if duration is not None
|
||||||
|
else None,
|
||||||
"thumbnail": thumbnail,
|
"thumbnail": thumbnail,
|
||||||
"has_clip": camera_config.record.enabled and include_recording,
|
"has_clip": camera_config.record.enabled and include_recording,
|
||||||
"has_snapshot": True,
|
"has_snapshot": True,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user