From 0c2b422999ed23e680edc0b28d5b4233e26792f3 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:57:24 -0400 Subject: [PATCH] v1.0.001 - bug fix... --- root/scripts/video.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/video.sh b/root/scripts/video.sh index f6f7926..e4fa4e5 100644 --- a/root/scripts/video.sh +++ b/root/scripts/video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.000" +scriptVersion="1.0.001" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -204,7 +204,7 @@ CacheMusicbrainzRecords () { fi find "$downloadPath/incomplete" -type f -regex ".*/.*\.\(mkv\|mp4\)" -print0 | while IFS= read -r -d '' video; do - count=$(($count+1))if ps aux | grep "tidal-dl" | grep -v "grep" | read; then echo "found"; else echo "not found"; fi + count=$(($count+1)) file="${video}" filenoext="${file%.*}" filename="$(basename "$video")"