Updated mask handling

pull/3/head
riley 12 months ago
parent f43d76bff1
commit 230891628e

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

Loading…
Cancel
Save