From 1db26cb41e27c59f1b18cf6205708b51f86a8b3a Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 17 Aug 2025 18:26:18 -0500 Subject: [PATCH] Ensure birdseye is enabled before trying to grab a frame from it (#19573) --- frigate/api/media.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frigate/api/media.py b/frigate/api/media.py index 163e50518..b32847ac7 100644 --- a/frigate/api/media.py +++ b/frigate/api/media.py @@ -201,7 +201,11 @@ def latest_frame( else "private, max-age=60", }, ) - elif camera_name == "birdseye" and request.app.frigate_config.birdseye.restream: + elif ( + camera_name == "birdseye" + and request.app.frigate_config.birdseye.enabled + and request.app.frigate_config.birdseye.restream + ): frame = cv2.cvtColor( frame_processor.get_current_frame(camera_name), cv2.COLOR_YUV2BGR_I420,