File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/with-contenv bash
2- scriptVersion=" 1.9 "
2+ scriptVersion=" 2.0 "
33scriptName=" AutoArtistAdder"
44
55# ## Import Settings
@@ -21,6 +21,12 @@ verifyConfig () {
2121 autoArtistAdderInterval=" 12h"
2222 fi
2323
24+ if [ -z " $autoArtistAdderMonitored " ]; then
25+ autoArtistAdderMonitored=" true"
26+ elif [ " $autoArtistAdderMonitored " != " true" ]; then
27+ autoArtistAdderMonitored=" false"
28+ fi
29+
2430}
2531
2632
@@ -259,7 +265,7 @@ AddTidalArtistToLidarr () {
259265 \" foreignArtistId\" : \" $foreignId \" ,
260266 \" qualityProfileId\" : $qualityProfileId ,
261267 \" metadataProfileId\" : $metadataProfileId ,
262- \" monitored\" :true ,
268+ \" monitored\" :$autoArtistAdderMonitored ,
263269 \" monitor\" :\" all\" ,
264270 \" rootFolderPath\" : \" $path \" ,
265271 \" addOptions\" :{\" searchForMissingAlbums\" :$lidarrSearchForMissing }
You can’t perform that action at this time.
0 commit comments