Minor fix for edge case

- Fixes thecaptain989/radarr-striptracks#76
This commit is contained in:
TheCaptain989
2024-08-27 07:37:32 -05:00
committed by GitHub
parent f8305b0b7c
commit 5a8d9f662b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1594,7 +1594,7 @@ elif [ -n "$striptracks_api_url" ]; then
[ $striptracks_debug -ge 1 ] && echo "Debug|Using new video file id '$striptracks_videofile_id'" | log
# Check if video is unmonitored after the delete/import
if [ $striptracks_conf_unmonitor -eq 1 -a "$(echo "$striptracks_videoinfo" | jq -crM ".monitored")" = "false" ]; then
if [ ${striptracks_conf_unmonitor:-0} -eq 1 -a "$(echo "$striptracks_videoinfo" | jq -crM ".monitored")" = "false" ]; then
striptracks_message="Warn|'$striptracks_title' is unmonitored after deleting the original video. Compensating for ${striptracks_type^} configuration."
echo "$striptracks_message" | log
# Set video to monitored again