|
|
@ -273,7 +273,7 @@ update_camera_in_yml() {
|
|
|
|
|
|
|
|
|
|
|
|
# Fetch and Update the specific settings for this camera from UCI -> YAML
|
|
|
|
# Fetch and Update the specific settings for this camera from UCI -> YAML
|
|
|
|
local path=$(get_uci_camera_value $camera_index "path")
|
|
|
|
local path=$(get_uci_camera_value $camera_index "path")
|
|
|
|
set_yml_value $name ".ffmpeg.inputs[0].path" $path
|
|
|
|
set_yml_value $name ".ffmpeg.inputs[0].path" "\"$path\""
|
|
|
|
|
|
|
|
|
|
|
|
local roles=$(get_uci_camera_value $camera_index "roles")
|
|
|
|
local roles=$(get_uci_camera_value $camera_index "roles")
|
|
|
|
set_yml_value $name ".ffmpeg.inputs[0].roles" $roles
|
|
|
|
set_yml_value $name ".ffmpeg.inputs[0].roles" $roles
|
|
|
|