From 7daafb0c7b44dd80791adafc353e0bc686521795 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 1 Aug 2022 13:05:46 +0000 Subject: [PATCH] 1.0.219 - Bug Fix for script failing to test the client before download --- root/scripts/audio.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index 0608136..aa14adf 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.218" +scriptVersion="1.0.219" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then @@ -522,7 +522,7 @@ DownloadProcess () { log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: $lidarrAlbumType :: Download Attempt number $downloadTry" if [ "$2" = "DEEZER" ]; then - if [ $downloadTry = 0 ]; then + if [ $downloadTry = 1 ]; then DeezerClientTest fi deemix -b $deemixQuality -p $downloadPath/incomplete "https://www.deezer.com/album/$1" 1>/dev/null @@ -532,7 +532,7 @@ DownloadProcess () { fi if [ "$2" = "TIDAL" ]; then - if [ $downloadTry = 0 ]; then + if [ $downloadTry = 1 ]; then TidaldlStatusCheck TidalClientTest fi