NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Round the timestamp value read from .vacuum file to prevent potential errors caused by float values (#6800)
Sergey Krashevich3efa77f30220
diff --git a/frigate/app.py b/frigate/app.pyindex 02e657ce15..9d85f461ef 100644--- a/frigate/app.py+++ b/frigate/app.py@@ -196,7 +196,7 @@ class FrigateApp:if os.path.exists(f"{CONFIG_DIR}/.vacuum"):with open(f"{CONFIG_DIR}/.vacuum") as f:try:- timestamp = int(f.readline())+ timestamp = round(float(f.readline()))except Exception:timestamp = 0