mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Formatting
This commit is contained in:
parent
7f9818fe17
commit
8e7c545eee
@ -596,7 +596,12 @@ class CameraConfig(FrigateBaseModel):
|
||||
|
||||
# add roles to the input if there is only one
|
||||
if len(config["ffmpeg"]["inputs"]) == 1:
|
||||
config["ffmpeg"]["inputs"][0]["roles"] = ["record", "rtmp", "detect", "restream"]
|
||||
config["ffmpeg"]["inputs"][0]["roles"] = [
|
||||
"record",
|
||||
"rtmp",
|
||||
"detect",
|
||||
"restream",
|
||||
]
|
||||
|
||||
super().__init__(**config)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user