From 2d5ec25dcac5ec72e9671fbb1c76636fa87256d5 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 6 Feb 2022 09:56:06 -0600 Subject: [PATCH] invert active_count logic --- frigate/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record.py b/frigate/record.py index 5a3b7ab1d..0a9fd5caa 100644 --- a/frigate/record.py +++ b/frigate/record.py @@ -230,7 +230,7 @@ class RecordingMaintainer(threading.Thread): [ o for o in frame[1] - if not o["false_positive"] and o["motionless_count"] > 0 + if not o["false_positive"] and o["motionless_count"] == 0 ] )