From e8acfaa430f4f0d87638a4afe5e1b5c08a73c364 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:39:02 -0600 Subject: [PATCH] Fix incorrect counting in sync_recordings --- frigate/util/media.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frigate/util/media.py b/frigate/util/media.py index 130fec79d..24b690e31 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_count result.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: