1.0.219 - Bug Fix for script failing to test the client before download

pull/60/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 20830cd639
commit 7daafb0c7b
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.218" scriptVersion="1.0.219"
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
@ -522,7 +522,7 @@ DownloadProcess () {
log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Download Attempt number $downloadTry" log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Download Attempt number $downloadTry"
if [ "$2" = "DEEZER" ]; then if [ "$2" = "DEEZER" ]; then
if [ $downloadTry = 0 ]; then if [ $downloadTry = 1 ]; then
DeezerClientTest DeezerClientTest
fi fi
deemix -b $deemixQuality -p $downloadPath/incomplete "https://www.deezer.com/album/$1" 1>/dev/null deemix -b $deemixQuality -p $downloadPath/incomplete "https://www.deezer.com/album/$1" 1>/dev/null
@ -532,7 +532,7 @@ DownloadProcess () {
fi fi
if [ "$2" = "TIDAL" ]; then if [ "$2" = "TIDAL" ]; then
if [ $downloadTry = 0 ]; then if [ $downloadTry = 1 ]; then
TidaldlStatusCheck TidaldlStatusCheck
TidalClientTest TidalClientTest
fi fi

Loading…
Cancel
Save