|
|
@ -68,12 +68,23 @@ s.novaluetext = "There are no cameras configured yet."
|
|
|
|
o = s:option(Value, "name", "Camera Name")
|
|
|
|
o = s:option(Value, "name", "Camera Name")
|
|
|
|
o = s:option(Value, "path", "RTSP Path")
|
|
|
|
o = s:option(Value, "path", "RTSP Path")
|
|
|
|
o = s:option(Value, "roles", "Roles")
|
|
|
|
o = s:option(Value, "roles", "Roles")
|
|
|
|
|
|
|
|
|
|
|
|
o = s:option(Flag, "record", "Enable Recording")
|
|
|
|
o = s:option(Flag, "record", "Enable Recording")
|
|
|
|
o.default = "0"
|
|
|
|
o.default = "0"
|
|
|
|
o.rmempty = false
|
|
|
|
o.rmempty = false
|
|
|
|
|
|
|
|
|
|
|
|
o = s:option(Flag, "snapshots", "Enable Snapshots")
|
|
|
|
o = s:option(Flag, "snapshots", "Enable Snapshots")
|
|
|
|
o.default = "0"
|
|
|
|
o.default = "0"
|
|
|
|
o.rmempty = false
|
|
|
|
o.rmempty = false
|
|
|
|
|
|
|
|
|
|
|
|
o = s:option(Value, "mask", "Mask")
|
|
|
|
o = s:option(Value, "mask", "Mask")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Add the new flag for Overwrite Frigate Config
|
|
|
|
|
|
|
|
o = s:option(Flag, "overwrite_cfg", "Overwrite Frigate Config")
|
|
|
|
|
|
|
|
o.default = "1"
|
|
|
|
|
|
|
|
o.rmempty = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return m
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return m
|
|
|
|
return m
|