v2 - Use new autoArtistAdderMonitored setting
#139 - Resolves this issue New setting allows users to enable/disable monitoring of artists when automatically added via script..
This commit is contained in:
parent
3b686a549f
commit
1cd883f7bf
1 changed files with 8 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue