diff --git a/lib/encode/mp3 b/lib/encode/mp3 index 4963b5e..68a93ab 100644 --- a/lib/encode/mp3 +++ b/lib/encode/mp3 @@ -8,6 +8,10 @@ encodeFile::mp3() { [ -n "$title" ] && lameopts+=(--tt "$title") [ -n "$track" ] && lameopts+=(--tn "$track") [ -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 )) then # If 'rate' is not one of these value, it cannot be encoded to