v1.0.177 - minor bug fixes...

pull/16/head
RandomNinjaAtk 2 years ago committed by GitHub
parent b411e82f83
commit 1d39d74b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.176"
scriptVersion="1.0.177"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase=""
@ -529,7 +529,9 @@ DownloadProcess () {
if [ "$completedVerification" = "true" ]; then
break
elif [ $downloadTry = 5 ]; then
rm /downloads/lidarr-extended/incomplete/*
if [ -d /downloads/lidarr-extended/incomplete ]; then
rm -rf /downloads/lidarr-extended/incomplete/*
fi
break
else
log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Retry Download to fix errors..."
@ -567,7 +569,9 @@ DownloadProcess () {
if [ "$completedVerification" = "true" ]; then
break
elif [ $downloadTry = 5 ]; then
rm /downloads/lidarr-extended/incomplete/*
if [ -d /downloads/lidarr-extended/incomplete ]; then
rm -rf /downloads/lidarr-extended/incomplete/*
fi
break
else
log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Retry Download in 5 seconds to fix errors..."

Loading…
Cancel
Save