From 4104f7131cd4bb1a14775e0ca68979690c45d218 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 16 Aug 2024 08:46:45 -0600 Subject: [PATCH] Don't write frames --- frigate/output/preview.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/output/preview.py b/frigate/output/preview.py index d3435bdaa..52fbba731 100644 --- a/frigate/output/preview.py +++ b/frigate/output/preview.py @@ -245,6 +245,9 @@ class PreviewRecorder: frame_time: float, ) -> bool: """Decide if this frame should be added to PREVIEW.""" + if not self.config.record.enabled: + return False + active_objs = get_active_objects( frame_time, self.config, current_tracked_objects )