NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix ui config migration (#12476)
Nicolas Mowen91f62cf8cecc
diff --git a/frigate/util/config.py b/frigate/util/config.pyindex 0db523af68..acb7a9cb93 100644--- a/frigate/util/config.py+++ b/frigate/util/config.py@@ -87,15 +87,16 @@ 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"):- if new_config["ui"].get("use_experimental"):- del new_config["ui"]["experimental"]+ # Remove UI fields+ if new_config.get("ui"):+ if new_config["ui"].get("use_experimental"):+ del new_config["ui"]["experimental"]- if new_config["ui"].get("live_mode"):- del new_config["ui"]["live_mode"]+ if new_config["ui"].get("live_mode"):+ del new_config["ui"]["live_mode"]- if not new_config["ui"]:- del new_config["ui"]+ if not new_config["ui"]:+ del new_config["ui"]# remove rtmpif new_config.get("ffmpeg", {}).get("output_args", {}).get("rtmp"):