From 2a0ee1b8931a2a1e07345547e15d7e34b84d8348 Mon Sep 17 00:00:00 2001 From: nulledy <254504350+nulledy@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:47:43 +0000 Subject: [PATCH] comment manual_info["label"].split(": ")[0] for clarity --- frigate/review/maintainer.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frigate/review/maintainer.py b/frigate/review/maintainer.py index 6e60b6102..6afdc8de9 100644 --- a/frigate/review/maintainer.py +++ b/frigate/review/maintainer.py @@ -704,6 +704,8 @@ class ReviewSegmentMaintainer(threading.Thread): manual_info["label"] ) if topic == DetectionTypeEnum.api: + # manual_info["label"] contains 'label: sub_label' + # so split out the label without modifying manual_info if ( self.config.cameras[camera].review.detections.enabled and manual_info["label"].split(": ")[0] @@ -734,6 +736,8 @@ class ReviewSegmentMaintainer(threading.Thread): topic == DetectionTypeEnum.api and self.config.cameras[camera].review.alerts.enabled ): + # manual_info["label"] contains 'label: sub_label' + # so split out the label without modifying manual_info if ( not self.config.cameras[ camera @@ -816,6 +820,8 @@ class ReviewSegmentMaintainer(threading.Thread): ) elif topic == DetectionTypeEnum.api: severity = None + # manual_info["label"] contains 'label: sub_label' + # so split out the label without modifying manual_info if ( self.config.cameras[camera].review.detections.enabled and manual_info["label"].split(": ")[0]