From 13410695e48ffc50a4664bf1e6dabc75651d115c Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 14 Jul 2022 16:47:08 -0400 Subject: [PATCH] v1.0.180 - Bug Fix Optimizing code, broke the process, should now work as intended... --- root/scripts/download.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index c5d63bd..050270f 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.179" +scriptVersion="1.0.180" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -513,12 +513,9 @@ DownloadProcess () { audioFlacVerification "$file" if [ $verifiedFlacFile = 0 ]; then log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Flac Verification :: $file :: Verified" - completedVerfication="true" else log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Flac Verification :: $file :: ERROR :: Failed Verification" rm "$file" - completedVerification="false" - break fi done