1.0.009 - Improve logging

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 26341ae7e7
commit cbca80dfeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
version=1.0.008 version=1.0.009
if [ -z "$lidarr_artist_path" ]; then if [ -z "$lidarr_artist_path" ]; then
lidarr_artist_path="$1" lidarr_artist_path="$1"
fi fi
@ -62,6 +62,7 @@ fi
if [ "$fileExt" == "flac" ]; then if [ "$fileExt" == "flac" ]; then
if [ ! -z "$getArtistCredit" ]; then if [ ! -z "$getArtistCredit" ]; then
log "Processing :: $lidarr_trackfile_path :: Setting ARTIST tag to match ARTIST_CREDIT tag..."
metaflac --remove-tag=ARTIST "$lidarr_trackfile_path" metaflac --remove-tag=ARTIST "$lidarr_trackfile_path"
metaflac --set-tag=ARTIST="$getArtistCredit" "$lidarr_trackfile_path" metaflac --set-tag=ARTIST="$getArtistCredit" "$lidarr_trackfile_path"
fi fi

Loading…
Cancel
Save