pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 4e966bbf74
commit 2ff78d26cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -591,7 +591,7 @@ CheckLidarrBeforeImport () {
AddRelatedArtists () {
lidarrArtistsData=$(curl -s "$lidarrUrl/api/v1/api/v1/artist?apikey=${lidarrApiKey}")
lidarrArtistsData="$(curl -s "$lidarrUrl/api/v1/artist?apikey=${lidarrApiKey}")"
lidarrArtistTotal=$(echo "${lidarrArtistsData}"| jq -r '.[].sortName' | wc -l)
lidarrArtistList=($(echo "${lidarrArtistsData}" | jq -r ".[].foreignArtistId"))
lidarrArtistIds="$(echo "${lidarrArtistsData}" | jq -r ".[].foreignArtistId")"
@ -716,7 +716,6 @@ else
log ":: ERROR :: dlClientSource set as: \"$dlClientSource\""
fi
AddRelatedArtists=true
if [ "$AddRelatedArtists" = "true" ]; then
AddRelatedArtists
else

Loading…
Cancel
Save