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
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,6 +1035,8 @@ SearchProcess () {
fi
if [ "$enableVideoScript" == "true" ]; 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..."
@ -1045,6 +1047,7 @@ SearchProcess () {
continue
fi
fi
fi
if [ -f "/config/extended/logs/downloaded/notfound/$lidarrAlbumForeignAlbumId" ]; then
log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrAlbumTitle :: $lidarrAlbumType :: Previously Not Found, skipping..."

Loading…
Cancel
Save