]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change: new eyeD3 opts
authorBastian Dehn <hhaalo@arcor.de>
Sun, 25 Jun 2017 19:55:01 +0000 (21:55 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 25 Jun 2017 19:55:01 +0000 (21:55 +0200)
flactomp3v2

index c11f587900711670e4fac280a4f3565484493d5a..a83ffe8fa7998bfe6d5b58aaea02f06bdbf2bb2e 100755 (executable)
@@ -31,17 +31,16 @@ RAP=$(metaflac "$INPUTFILE" --show-tag=REPLAYGAIN_ALBUM_PEAK | tr '=' ':')
 # 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"