1.0.296 - Skip Video Check for Various Artists album searches

#136 - Bug Fix for additional context note...
pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent fe546ab0e8
commit c12087b5d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.295" scriptVersion="1.0.296"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then if [ "$lidarrUrlBase" == "null" ]; then
@ -1035,14 +1035,17 @@ SearchProcess () {
fi fi
if [ "$enableVideoScript" == "true" ]; then if [ "$enableVideoScript" == "true" ]; then
if [ -d /config/extended/logs/video/complete ]; then # Skip Video Check for Various Artists album searches because videos are not supported...
if [ ! -f "/config/extended/logs/video/complete/$lidarrArtistForeignArtistId" ]; then 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..." log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $wantedAlbumListSource :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..."
continue continue
fi fi
else
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumType :: $wantedAlbumListSource :: $lidarrArtistName :: $lidarrAlbumTitle :: Skipping until all videos are processed for the artist..."
continue
fi fi
fi fi

Loading…
Cancel
Save