Albumartist, composer, performer for MP3

This commit is contained in:
Vincent Riquer 2013-12-10 13:37:24 +01:00
parent 459d8c06ce
commit 421c690e5d

View File

@ -8,6 +8,10 @@ encodeFile::mp3() {
[ -n "$title" ] && lameopts+=(--tt "$title") [ -n "$title" ] && lameopts+=(--tt "$title")
[ -n "$track" ] && lameopts+=(--tn "$track") [ -n "$track" ] && lameopts+=(--tn "$track")
[ -n "$year" ] && lameopts+=(--ty "$year") [ -n "$year" ] && lameopts+=(--ty "$year")
[ -n "$albumartist" ] && lameopts+=(--tv TPE2="$albumartist")
[ -n "$composer" ] && lameopts+=(--tv TCOM="$composer")
[ -n "$performer" ] && lameopts+=(--tv TOPE="$performer")
[ -n "$disc" ] && lameopts+=(--tv TPOS="$disc")
if (( ${destinationnoresample[$destination]:-0} == 1 )) if (( ${destinationnoresample[$destination]:-0} == 1 ))
then then
# If 'rate' is not one of these value, it cannot be encoded to # If 'rate' is not one of these value, it cannot be encoded to