From a5b3a4666f5935d15d07ad4d18369a799d26709f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 23 Nov 2022 09:38:37 -0500 Subject: [PATCH] v1.0.004 - bug fix for last change --- root/scripts/AutoArtistAdder.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/scripts/AutoArtistAdder.bash b/root/scripts/AutoArtistAdder.bash index 1038dfc..ad0d051 100644 --- a/root/scripts/AutoArtistAdder.bash +++ b/root/scripts/AutoArtistAdder.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.003" +scriptVersion="1.0.004" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -126,7 +126,7 @@ AddDeezerArtistToLidarr () { \"monitored\":true, \"monitor\":\"all\", \"rootFolderPath\": \"$path\", - \"addOptions\":{\"searchForMissingAlbums\":$searchForMissing} + \"addOptions\":{\"searchForMissingAlbums\":$lidarrSearchForMissing} }" if echo "$lidarrArtistIds" | grep "^${musicbrainz_main_artist_id}$" | read; then @@ -286,7 +286,7 @@ AddTidalArtistToLidarr () { \"monitored\":true, \"monitor\":\"all\", \"rootFolderPath\": \"$path\", - \"addOptions\":{\"searchForMissingAlbums\":$searchForMissing} + \"addOptions\":{\"searchForMissingAlbums\":$lidarrSearchForMissing} }" if echo "$lidarrArtistIds" | grep "^${musicbrainz_main_artist_id}$" | read; then