Updated mask handling

pull/3/head
riley 1 year ago
parent f43d76bff1
commit 230891628e

@ -315,7 +315,7 @@ update_camera_in_yml() {
if [ -n "$mask" ]; then if [ -n "$mask" ]; then
set_yml_value $name ".motion.mask" "[\"$mask\"]" set_yml_value $name ".motion.mask" "[\"$mask\"]"
else else
echo "Mask is empty, ignoring." yq eval "del(.cameras.$name.motion)" -i /opt/docker2/compose/frigate/config.yml
fi fi
} }

Loading…
Cancel
Save