From cdbd4cc839c5187b953fa30d6a97410ff761ad83 Mon Sep 17 00:00:00 2001 From: data Date: Sat, 22 Oct 2005 20:18:15 +0000 Subject: [PATCH] Added info about unicode in the man file. Added changelog info about the -u flag. Yet one more small problem with spaces in filenames or directories. git-svn-id: http://abcde.googlecode.com/svn/trunk@147 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- abcde | 10 ++++++---- abcde.1 | 6 ++++++ debian/changelog | 5 ++++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/abcde b/abcde index 3fc4cc5..ac99e88 100755 --- a/abcde +++ b/abcde @@ -378,6 +378,7 @@ do_replaygain() ;; esac OUTPUTFILES="" + REPLAYINDEX=0 for UTRACKNUM in $TRACKQUEUE do CDDBTRACKNUM=$(expr $UTRACKNUM - 1) @@ -392,17 +393,18 @@ do_replaygain() else OUTPUTFILE="$(eval echo $OUTPUTFORMAT)" fi - OUTPUTFILES="$OUTPUTDIR/$OUTPUTFILE.$OUTPUT $OUTPUTFILES" + OUTPUTFILES[$REPLAYINDEX]="$OUTPUTDIR/$OUTPUTFILE.$OUTPUT" + (( REPLAYINDEX = $REPLAYINDEX + 1 )) done case "$OUTPUT" in flac) - run_command replaygain-flac $METAFLAC --add-replay-gain "$OUTPUTFILES" + run_command replaygain-flac $METAFLAC --add-replay-gain "${OUTPUTFILES[@]}" ;; vorbis|ogg) - run_command replaygain-vorbis $VORBISGAIN --album "$OUTPUTFILES" + run_command replaygain-vorbis $VORBISGAIN --album "${OUTPUTFILES[@]}" ;; mp3) - run_command replaygain-mp3 $MP3GAIN -a "$OUTPUTFILES" + run_command replaygain-mp3 $MP3GAIN -a "${OUTPUTFILES[@]}" ;; *);; esac diff --git a/abcde.1 b/abcde.1 index f850658..7d66d20 100644 --- a/abcde.1 +++ b/abcde.1 @@ -152,6 +152,12 @@ filenames and the playlist. Internal (tag) numbering remains the same. Same as \-t but changes also the internal (tag) numbering. Keep in mind that the default TRACK tag for MP3 is $T/$TRACKS so it is changed to simply $T. .TP +.B \-u +Set CDDBPROTOCOL to version 6, so that we retrieve UTF-8 encoded CDDB +information, and we tag and add comments with a proper encoding. This flag will +be removed and -U will be added to set it to version 5 once version 6 becomes +the default. +.TP .B \-v Show the version and exit .TP diff --git a/debian/changelog b/debian/changelog index 01128a5..6fff127 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,8 +23,11 @@ abcde (2.3.99-1) unstable; urgency=low * Added one more checking for PIPES*_* unset variables (which means support is not added to abcde). * Added toolame as an optional MP3 encoder. + * Added a "-u" flag to set the FreeDB/whatever-cddb-server-you-use to use + th 6th step of the protocol and request the entries in UTF-8, which + hopefully will add the expected UTF-8 tags and comments. - -- Jesus Climent Sat, 8 Oct 2005 17:05:32 +0300 + -- Jesus Climent Sat, 22 Oct 2005 22:53:37 +0300 abcde (2.3.4-1) unstable; urgency=low -- 2.20.1