NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
start_time is a datetime obj
Josh Hawkinsdef889e3a836
diff --git a/frigate/record/maintainer.py b/frigate/record/maintainer.pyindex cdd1340aa2..f99c2f5507 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.modereturn await self.move_segment(camera, start_time, end_time, duration, cache_path, record_mode