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 1
1
#! /usr/bin/with-contenv bash
2
- scriptVersion=" 1.9 "
2
+ scriptVersion=" 2.0 "
3
3
scriptName=" AutoArtistAdder"
4
4
5
5
# ## Import Settings
@@ -21,6 +21,12 @@ verifyConfig () {
21
21
autoArtistAdderInterval=" 12h"
22
22
fi
23
23
24
+ if [ -z " $autoArtistAdderMonitored " ]; then
25
+ autoArtistAdderMonitored=" true"
26
+ elif [ " $autoArtistAdderMonitored " != " true" ]; then
27
+ autoArtistAdderMonitored=" false"
28
+ fi
29
+
24
30
}
25
31
26
32
@@ -259,7 +265,7 @@ AddTidalArtistToLidarr () {
259
265
\" foreignArtistId\" : \" $foreignId \" ,
260
266
\" qualityProfileId\" : $qualityProfileId ,
261
267
\" metadataProfileId\" : $metadataProfileId ,
262
- \" monitored\" :true ,
268
+ \" monitored\" :$autoArtistAdderMonitored ,
263
269
\" monitor\" :\" all\" ,
264
270
\" rootFolderPath\" : \" $path \" ,
265
271
\" addOptions\" :{\" searchForMissingAlbums\" :$lidarrSearchForMissing }
You can’t perform that action at this time.
0 commit comments