From 2d9d13dbc92e507ff790b8b0a29babca6197d21f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 11 Jul 2022 17:18:15 +0000 Subject: [PATCH] v1.0.143 - bug fix --- root/scripts/download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index eed90d7..a0feadb 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.142" +scriptVersion="1.0.143" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -1131,7 +1131,7 @@ SearchProcess () { else deezerArtistAlbumData="$(curl -s "https://api.deezer.com/album/${msuicbrainzDeezerDownloadAlbumID}")" fi - deezerAlbumTrackCount="$(echo $tidalArtistAlbumData | jq -r .nb_tracks)" + deezerAlbumTrackCount="$(echo $deezerArtistAlbumData | jq -r .nb_tracks)" DownloadProcess "$msuicbrainzDeezerDownloadAlbumID" "DEEZER" "$lidarrAlbumReleaseYear" "$lidarrAlbumTitle" "$deezerAlbumTrackCount"