From 95e129ca43cd784864f00349bcddfb0388a68b9e Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 23 Aug 2026 15:35:22 -0500 Subject: [PATCH] pin genai review frames to the main stream --- frigate/data_processing/post/review_descriptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/data_processing/post/review_descriptions.py b/frigate/data_processing/post/review_descriptions.py index 544e823e4a..cbd4e88cc2 100644 --- a/frigate/data_processing/post/review_descriptions.py +++ b/frigate/data_processing/post/review_descriptions.py @@ -23,6 +23,7 @@ from frigate.const import ( ATTRIBUTE_LABEL_DISPLAY_MAP, CACHE_DIR, CLIPS_DIR, + STREAM_TYPE_MAIN, UPDATE_REVIEW_DESCRIPTION, ) from frigate.data_processing.types import PostProcessDataEnum @@ -441,6 +442,7 @@ class ReviewDescriptionProcessor(PostProcessorApi): ) .where((ts >= Recordings.start_time) & (ts <= Recordings.end_time)) .where(Recordings.camera == camera) + .where(Recordings.stream_type == STREAM_TYPE_MAIN) .order_by(Recordings.start_time.desc()) .limit(1) .get()