From c12087b5d7764e9cdf84ad46f0eff3d0c4186acf Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 23 Nov 2022 14:28:50 -0500 Subject: [PATCH] 1.0.296 - Skip Video Check for Various Artists album searches #136 - Bug Fix for additional context note... --- root/scripts/Audio.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index 38e8be7..b72fa65 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.295" +scriptVersion="1.0.296" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -1035,14 +1035,17 @@ SearchProcess () { fi if [ "$enableVideoScript" == "true" ]; then - if [ -d /config/extended/logs/video/complete ]; then - if [ ! -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then + # Skip Video Check for Various Artists album searches because videos are not supported... + if [ "$lidarrArtistForeignArtistId" != "89ad4ac3-39f7-470e-963a-56509c546377" ]; then + if [ -d /config/extended/logs/video/complete ]; then + if [ ! -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then + log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $wantedAlbumListSource :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..." + continue + fi + else log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $wantedAlbumListSource :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..." continue fi - else - log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $wantedAlbumListSource :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..." - continue fi fi