Skip to content

Commit 9e2b4f0

Browse files
1.7 - Bug fix for incorrect processcount in logging output
1 parent a8d3a98 commit 9e2b4f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lidarr/TidalVideoDownloader.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/with-contenv bash
2-
scriptVersion="1.6"
2+
scriptVersion="1.7"
33
scriptName="TidalVideoDownloader"
44

55
#### Import Settings
@@ -208,6 +208,7 @@ VideoProcess () {
208208
lidarrArtists=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/artist?apikey=$arrApiKey" | jq -r .[])
209209
lidarrArtistIds=$(echo $lidarrArtists | jq -r .id)
210210
lidarrArtistCount=$(echo "$lidarrArtistIds" | wc -l)
211+
processCount=0
211212
for lidarrArtistId in $(echo $lidarrArtistIds); do
212213
processCount=$(( $processCount + 1))
213214
lidarrArtistData=$(wget --timeout=0 -q -O - "$arrUrl/api/v1/artist/$lidarrArtistId?apikey=$arrApiKey")

0 commit comments

Comments
 (0)