From cc5cbc9d03f8139bc8767d5841aaca373a79faf5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 7 Nov 2022 12:50:05 -0500 Subject: [PATCH] 1.0.273 - improve import matching when using beets --- root/scripts/Audio.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index 7009504..b35df5e 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.272" +scriptVersion="1.0.273" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -774,7 +774,8 @@ ProcessWithBeets () { metaflac --remove-tag="ALBUM ARTIST" "$file" metaflac --remove-tag=ARTISTSORT "$file" metaflac --remove-tag=ARTIST "$file" - metaflac --set-tag=ARTIST="$getArtistCredit" "$file" + metaflac --set-tag=ARTIST="$lidarrArtistName" "$file" + metaflac --set-tag=ALBUMARTIST="$lidarrArtistName" "$file" done else log "$processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: ERROR :: Unable to match using beets to a musicbrainz release..."