From 9e2b4f0774e2822a01d0aaaa79c0d00ecd741ecc Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 22 Aug 2023 21:21:13 +0000 Subject: [PATCH] 1.7 - Bug fix for incorrect processcount in logging output --- lidarr/TidalVideoDownloader.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lidarr/TidalVideoDownloader.bash b/lidarr/TidalVideoDownloader.bash index aec1c93..8a0ee27 100644 --- a/lidarr/TidalVideoDownloader.bash +++ b/lidarr/TidalVideoDownloader.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.6" +scriptVersion="1.7" scriptName="TidalVideoDownloader" #### Import Settings @@ -208,6 +208,7 @@ VideoProcess () { lidarrArtists=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/artist?apikey=$arrApiKey" | jq -r .[]) lidarrArtistIds=$(echo $lidarrArtists | jq -r .id) lidarrArtistCount=$(echo "$lidarrArtistIds" | wc -l) + processCount=0 for lidarrArtistId in $(echo $lidarrArtistIds); do processCount=$(( $processCount + 1)) lidarrArtistData=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/artist/$lidarrArtistId?apikey=$arrApiKey")