From 5d3df3aa36093df2a5e2b4cbd51e052aca4512ac Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 3 Sep 2022 17:06:56 -0400 Subject: [PATCH] bug fix --- root/scripts/QueueCleaner.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/scripts/QueueCleaner.bash b/root/scripts/QueueCleaner.bash index fb32a12..f5912fd 100644 --- a/root/scripts/QueueCleaner.bash +++ b/root/scripts/QueueCleaner.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.003" +scriptVersion="1.0.004" if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -40,5 +40,6 @@ for queueId in $(echo $arrQueueIds); do log "Removing Failed Queue Item ID: $queueId ($arrQueueItemTitle) from Radarr..." curl -sX DELETE "$arrUrl/api/v3/queue/$queueId?removeFromClient=true&blocklist=true&apikey=${arrApiKey}" done -a + + exit