From 8b81b06fc349adea96182334967e11b529fcf958 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 20 Mar 2025 08:23:51 -0600 Subject: [PATCH] Fix enabled status not being persisted --- frigate/video.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index abf490a72..91e92fee1 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -113,8 +113,10 @@ def capture_frames( def get_enabled_state(): """Fetch the latest enabled state from ZMQ.""" _, config_data = config_subscriber.check_for_update() + if config_data: - return config_data.enabled + config.enabled = config_data.enabled + return config.enabled while not stop_event.is_set():