Added support for flac tags via metaflac (#823)

This commit is contained in:
Manuel 2020-09-30 16:15:01 -03:00 committed by GitHub
parent 8e8c702e23
commit 687e2e1ef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,5 +55,13 @@ Date=$date
Genre=$genre
Comment=$comment" | opustags -i -S "$file" ;;
*.mp3) eyeD3 -Q --remove-all -a "$artist" -A "$album" -t "$title" -n "$track" -N "$total" -Y "$date" "$file" ;;
*.flac) echo "TITLE=$title
ARTIST=$artist
ALBUM=$album
TRACKNUMBER=$track
TOTALTRACKS=$total
DATE=$date
GENRE=$genre
DESCRIPTION=$comment" | metaflac --remove-all-tags --import-tags-from=- "$file" ;;
*) echo "File type not implemented yet." ;;
esac