From 272bc5703fd6c81025eb783d0c0169c84cf2e0ff Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 16 Aug 2022 11:30:51 +0000 Subject: [PATCH] 1.0.239 - Bug fix File must not exist to skip... --- root/scripts/audio.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index bfb2d98..4ab6990 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.238" +scriptVersion="1.0.239" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then @@ -1014,7 +1014,7 @@ SearchProcess () { if [ "$enableVideoScript" == "true" ]; then if [ -d /config/extended/logs/video/complete ]; then - if [ -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then + if [ ! -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then log "$processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..." continue fi