From 07b6eae0b5a16d7a774d91b42c21274281865d04 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 5 May 2025 13:55:57 -0600 Subject: [PATCH] Catch producers exists but is None --- frigate/api/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/app.py b/frigate/api/app.py index 8a1310b93..b7b8b2f23 100644 --- a/frigate/api/app.py +++ b/frigate/api/app.py @@ -74,7 +74,7 @@ def go2rtc_streams(): ) stream_data = r.json() for data in stream_data.values(): - for producer in data.get("producers", []): + for producer in (data.get("producers") or []): producer["url"] = clean_camera_user_pass(producer.get("url", "")) return JSONResponse(content=stream_data)