From 2031c3146ff7995c8f7761b04cbc43b144e2489b Mon Sep 17 00:00:00 2001 From: James L <24962424+leccelecce@users.noreply.github.com> Date: Fri, 13 Jan 2023 23:14:07 +0000 Subject: [PATCH] System page: make clear if detect disabled (#5075) --- frigate/stats.py | 1 + web/src/routes/System.jsx | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/frigate/stats.py b/frigate/stats.py index 86ac3780b..b67c2109b 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -215,6 +215,7 @@ def stats_snapshot( "process_fps": round(camera_stats["process_fps"].value, 2), "skipped_fps": round(camera_stats["skipped_fps"].value, 2), "detection_fps": round(camera_stats["detection_fps"].value, 2), + "detection_enabled": camera_stats["detection_enabled"].value, "pid": pid, "capture_pid": cpid, "ffmpeg_pid": ffmpeg_pid, diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index b60ceeb9a..6f51a5397 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -234,7 +234,7 @@ export default function System() {