From f1871aa4466562b783bea4e9078d53606c7bc031 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 16 Apr 2024 15:55:06 -0600 Subject: [PATCH] Remove experimental config as part of config migration --- frigate/util/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frigate/util/config.py b/frigate/util/config.py index 46a1ea941..fb7aa3ef5 100644 --- a/frigate/util/config.py +++ b/frigate/util/config.py @@ -81,6 +81,12 @@ def migrate_014(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]]: if not new_config["record"]: del new_config["record"] + if new_config.get("ui", {}).get("use_experimental"): + del new_config["ui"]["experimental"] + + if not new_config["ui"]: + del new_config["ui"] + # remove rtmp if new_config.get("ffmpeg", {}).get("output_args", {}).get("rtmp"): del new_config["ffmpeg"]["output_args"]["rtmp"]