v1.0.114 - Updated status message

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

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.113"
scriptVersion="1.0.114"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase=""
@ -1479,7 +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..."
log ":: STATUS :: LIDARR BUSY :: Waiting for all active Lidarr tasks to end..."
sleep 1
else
break

Loading…
Cancel
Save