1.0.003 - Change searchForMissing -> lidarrSearchForMissing to match readme

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 0b9cda77b5
commit bbe8f4f60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.002" scriptVersion="1.0.003"
if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" == "null" ]; then if [ "$lidarrUrlBase" == "null" ]; then
@ -22,7 +22,7 @@ musicbrainzMirror=https://musicbrainz.org
#topLimit="3" #topLimit="3"
#addRelatedArtists="true" #addRelatedArtists="true"
#numberOfRelatedArtistsToAddPerArtist="1" #numberOfRelatedArtistsToAddPerArtist="1"
#searchForMissing=false #lidarrSearchForMissing=false
touch "/config/logs/AutoArtistAdder.txt" touch "/config/logs/AutoArtistAdder.txt"
@ -303,8 +303,8 @@ AddTidalArtistToLidarr () {
done done
} }
if [ -z $searchForMissing ]; then if [ -z $lidarrSearchForMissing ]; then
searchForMissing=true lidarrSearchForMissing=true
fi fi
if [ "$addDeezerTopArtists" == "true" ]; then if [ "$addDeezerTopArtists" == "true" ]; then

Loading…
Cancel
Save