mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Target camera config
This commit is contained in:
parent
e5e52bfa30
commit
5bffd02cb2
@ -234,10 +234,9 @@ def migrate_015_0(config: dict[str, dict[str, any]]) -> dict[str, dict[str, any]
|
|||||||
else:
|
else:
|
||||||
detections_retention["retain"]["days"] = 0
|
detections_retention["retain"]["days"] = 0
|
||||||
|
|
||||||
new_config["record"]["alerts"] = alerts_retention
|
camera_config["record"]["alerts"] = alerts_retention
|
||||||
new_config["record"]["detections"] = detections_retention
|
camera_config["record"]["detections"] = detections_retention
|
||||||
|
del camera_config["record"]["events"]
|
||||||
del new_config["record"]["events"]
|
|
||||||
|
|
||||||
new_config["cameras"][name] = camera_config
|
new_config["cameras"][name] = camera_config
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user