NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix incorrect counting in sync_recordings (#21626)
Josh Hawkins56c7a13fbeb7
diff --git a/frigate/util/media.py b/frigate/util/media.pyindex 130fec79dd..24b690e317 100644--- a/frigate/util/media.py+++ b/frigate/util/media.py@@ -98,7 +98,6 @@ def sync_recordings({"id": recording.id, "path": recording.path})- result.files_checked += recordings_countresult.orphans_found += len(recordings_to_delete)result.orphan_paths.extend([@@ -173,7 +172,7 @@ def sync_recordings(for file in files}- result.files_checked += len(files_on_disk)+ result.files_checked = len(files_on_disk)files_to_delete: list[str] = []for file in files_on_disk: