Update BeetsTagger.bash

This commit is contained in:
RandomNinjaAtk 2023-09-08 17:44:34 -04:00 committed by GitHub
parent f6da46e8c7
commit 2a3d5b3c54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,10 @@ if [ -z "$lidarr_album_id" ]; then
lidarr_album_id="$1"
fi
if [ "$enableBeetsTagging" != "true" ]; then
log "Beets tagging is disabled, please enable by setting \"enableBeetsTagging=true\" in \"/config/extended.conf\""
exit 0
fi
getAlbumArtist="$(curl -s "$arrUrl/api/v1/album/$lidarr_album_id" -H "X-Api-Key: ${arrApiKey}" | jq -r .artist.artistName)"
getAlbumArtistPath="$(curl -s "$arrUrl/api/v1/album/$lidarr_album_id" -H "X-Api-Key: ${arrApiKey}" | jq -r .artist.path)"