From 69bb20516d49914f13e9d5ef67c8762bbd524ca5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 16 Aug 2022 10:56:45 +0000 Subject: [PATCH] 1.0.237 - Use artist MBZ id for tracking if all videos were processed for artist --- root/scripts/audio.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index 28a086e..e061f17 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.236" +scriptVersion="1.0.237" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then @@ -1052,8 +1052,7 @@ SearchProcess () { if [ "$enableVideoScript" == "true" ]; then if [ -d /config/extended/logs/video/complete ]; then - lidarrArtistVideoFolder="$(echo "$lidarrArtistFolder" | sed "s/ (.*)$//g" | sed "s/\.$//g")" # Plex Sanitization, remove disambiguation - if [ -f "/config/extended/logs/video/complete/$lidarrArtistVideoFolder" ]; then + if [ -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: Skipping until all videos are processed for the artist..." continue fi