From def889e3a836f921eefd3a66fcd35995291fe872 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 25 Oct 2023 14:14:13 -0500 Subject: [PATCH] start_time is a datetime obj --- frigate/record/maintainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record/maintainer.py b/frigate/record/maintainer.py index cdd1340aa..f99c2f550 100644 --- a/frigate/record/maintainer.py +++ b/frigate/record/maintainer.py @@ -270,7 +270,7 @@ class RecordingMaintainer(threading.Thread): ][0] # ensure delayed segment info does not lead to lost segments - if most_recently_processed_frame_time >= start_time: + if most_recently_processed_frame_time >= start_time.timestamp(): record_mode = self.config.cameras[camera].record.retain.mode return await self.move_segment( camera, start_time, end_time, duration, cache_path, record_mode