# ID3v2.3 tagging with cover and without cover
eyed3Command="eyeD3 --v2 --to-v2.3 \
--artist=\"$ARTIST\" --title=\"$TITLE\" --album=\"$ALBUM\" --genre=\"${GENRE:-12}\" \
---track=\"${TRACKNUMBER:-0}\" --year=\"$DATE\" \
---set-user-text-frame=\"$RRL\" \
---set-user-text-frame=\"$RTG\" \
---set-user-text-frame=\"$RTP\" \
---set-user-text-frame=\"$RAG\" \
---set-user-text-frame=\"$RAP\""
+--track=\"${TRACKNUMBER:-0}\" --recording-date=\"$DATE\" \
+--user-text-frame=\"$RRL\" \
+--user-text-frame=\"$RTG\" \
+--user-text-frame=\"$RTP\" \
+--user-text-frame=\"$RAG\" \
+--user-text-frame=\"$RAP\""
if [ -f ${INPUTFILE%/*}/cover.jpg ]; then
eyed3Command+=" --add-image=\"${INPUTFILE%/*}/cover.jpg\":FRONT_COVER"
fi
-eyed3Command+=" --no-tagging-time-frame \
-\"$OUTPUTFILE\" > /dev/null 2>&1"
+eyed3Command+=" \"$OUTPUTFILE\" > /dev/null 2>&1"
# stream flac into the lame encoder
nice --adjustment=2 flac --silent --stdout --decode "$INPUTFILE" | nice --adjustment=3 lame --silent -b $BITRATE -m $MODE --noreplaygain - "$OUTPUTFILE"