From b3c46171507b4903567badfb92601786bdc92a09 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 9 Jul 2022 09:37:29 -0400 Subject: [PATCH] v1.0.112 - Add status message when script puases to wait for lidarr to finish all running tasks... --- root/scripts/download.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index ed1fbb4..f6828c1 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.111" +scriptVersion="1.0.112" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -1479,6 +1479,7 @@ LidarrTaskStatusCheck () { do taskCount=$(curl -s "$lidarrUrl/api/v1/command?apikey=${lidarrApiKey}" | jq -r .[].status | grep -v completed | grep -v failed | wc -l) if [ "$taskCount" -ge "1" ]; then + log ":: $artistNumber of $lidarrArtistTotal :: $lidarrArtistName :: ERROR :: Lidarr Busy :: Waiting for Lidarr tasks to end..." sleep 1 else break