From 86ed83163d9aad3dbad4c4e593943605f1dcc195 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 11 Jul 2022 14:07:38 +0000 Subject: [PATCH] 1.0.137 - prevent duplicate tags... --- root/scripts/download.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index bde53d8..f5bea3f 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.136" +scriptVersion="1.0.137" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -656,6 +656,7 @@ DownloadProcess () { lrcFile="${file%.*}.lrc" if [ -f "$lrcFile" ]; then log ":: $processNumber of $wantedListAlbumTotal :: $lidarrArtistNameSanitized :: $lidarrAlbumTitle :: Embedding lyrics (lrc) into $file" + metaflac --remove-tag=Lyrics "$file" metaflac --set-tag-from-file="Lyrics=$lrcFile" "$file" rm "$lrcFile" fi