From e3d21ff1a42e86ab41fbef203c7c64b89267c837 Mon Sep 17 00:00:00 2001 From: jsaddiction <04reduramax@gmail.com> Date: Mon, 5 Jun 2023 10:57:11 -0400 Subject: [PATCH] Edge case tagging fix --- root/scripts/Audio.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index c3c5eae..f2b15e1 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -568,9 +568,11 @@ DownloadProcess () { metaflac --remove-tag=ALBUMARTIST "$file" metaflac --remove-tag=ARTIST "$file" metaflac --remove-tag=MUSICBRAINZ_ARTISTID "$file" + metaflac --remove-tag=MUSICBRAINZ_ALBUMARTISTID "$file" metaflac --set-tag=ALBUMARTIST="$lidarrArtistName" "$file" metaflac --set-tag=ARTIST="$lidarrArtistName" "$file" metaflac --set-tag=MUSICBRAINZ_ARTISTID="$lidarrArtistForeignArtistId" "$file" + metaflac --set-tag=MUSICBRAINZ_ALBUMARTISTID="$lidarrArtistForeignArtistId" "$file" done # Tag with beets @@ -742,9 +744,11 @@ ProcessWithBeets () { metaflac --remove-tag=ARTISTSORT "$file" metaflac --remove-tag=ARTIST "$file" metaflac --remove-tag=MUSICBRAINZ_ARTISTID "$file" + metaflac --remove-tag=MUSICBRAINZ_ALBUMARTISTID "$file" metaflac --set-tag=ARTIST="$lidarrArtistName" "$file" metaflac --set-tag=ALBUMARTIST="$lidarrArtistName" "$file" metaflac --set-tag=MUSICBRAINZ_ARTISTID="$lidarrArtistForeignArtistId" "$file" + metaflac --set-tag=MUSICBRAINZ_ALBUMARTISTID="$lidarrArtistForeignArtistId" "$file" done else log "$page :: $wantedAlbumListSource :: $processNumber of $wantedListAlbumTotal :: $lidarrArtistName :: $lidarrAlbumTitle :: $lidarrAlbumType :: ERROR :: Unable to match using beets to a musicbrainz release..."