From 97d793e73e301e78ecbde9f43d190abb31fe6bbe Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 28 Jul 2023 10:27:48 +0000 Subject: [PATCH] v2.8 - bug fix, missing "then" for if's... #40 --- lidarr/Audio.service.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index ab2792c..ab0498b 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="2.7" +scriptVersion="2.8" scriptName="Audio" ### Import Settings @@ -472,9 +472,9 @@ DownloadProcess () { if [ -z $arlToken ]; then rm -rf "$audioPath"/incomplete/* log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..." - else + else DeezerClientTest - if [ "$deezerClientTest" == "success" ]; + if [ "$deezerClientTest" == "success" ]; then log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..." fi fi @@ -499,7 +499,7 @@ DownloadProcess () { # If download failes X times, exit with error... if [ $tidaldlFail -eq $failedDownloadAttemptThreshold ]; then TidalClientTest - if [ "$tidalClientTest" == "success" ]; + if [ "$tidalClientTest" == "success" ]; then log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: All $failedDownloadAttemptThreshold Download Attempts failed, skipping..." fi fi