diff --git a/lidarr/AutoArtistAdder.bash b/lidarr/AutoArtistAdder.bash index 13162fd..0e8a0ab 100644 --- a/lidarr/AutoArtistAdder.bash +++ b/lidarr/AutoArtistAdder.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.9" +scriptVersion="2.0" scriptName="AutoArtistAdder" ### Import Settings @@ -21,6 +21,12 @@ verifyConfig () { autoArtistAdderInterval="12h" fi + if [ -z "$autoArtistAdderMonitored" ]; then + autoArtistAdderMonitored="true" + elif [ "$autoArtistAdderMonitored" != "true" ]; then + autoArtistAdderMonitored="false" + fi + } @@ -259,7 +265,7 @@ AddTidalArtistToLidarr () { \"foreignArtistId\": \"$foreignId\", \"qualityProfileId\": $qualityProfileId, \"metadataProfileId\": $metadataProfileId, - \"monitored\":true, + \"monitored\":$autoArtistAdderMonitored, \"monitor\":\"all\", \"rootFolderPath\": \"$path\", \"addOptions\":{\"searchForMissingAlbums\":$lidarrSearchForMissing}