r61@boo: data | 2005-03-27 15:10:40 +0300
authordata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Mon, 11 Apr 2005 07:25:14 +0000 (07:25 +0000)
committerdata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Mon, 11 Apr 2005 07:25:14 +0000 (07:25 +0000)
 Small cleanups
 Changed redirection on pipes to /dev/null

git-svn-id: http://abcde.googlecode.com/svn/trunk@64 a0fa61bc-5347-0410-a1a9-7f54aa4e1825

abcde

diff --git a/abcde b/abcde
index e186802..acce928 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -458,11 +458,9 @@ do_tag ()
        case "$OUTPUT" in
        mp3)
                # id3v2 v0.1.9 claims to have solved the -c bug, so we merge both id3 and id3v2
        case "$OUTPUT" in
        mp3)
                # id3v2 v0.1.9 claims to have solved the -c bug, so we merge both id3 and id3v2
-      GENREID=$(do_getgenreid "${CDGENRE}")
-
-               # FIXME # track numbers in mp3 come with 1/10, so we cannot happily substitute them with $TRACKNUM
                GENREID=$(do_getgenreid "${CDGENRE}")
 
                GENREID=$(do_getgenreid "${CDGENRE}")
 
+               # FIXME # track numbers in mp3 come with 1/10, so we cannot happily substitute them with $TRACKNUM
                run_command tagtrack-$1 $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" \
                        -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" -y "$CDYEAR" \
                        -g "$GENREID" -T "${TRACKNUM:-$1/$TRACKS}" \
                run_command tagtrack-$1 $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" \
                        -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" -y "$CDYEAR" \
                        -g "$GENREID" -T "${TRACKNUM:-$1/$TRACKS}" \
@@ -2139,7 +2137,7 @@ shift $(($OPTIND - 1))
 if [ "$ONETRACK" = "y" ]; then 
        # FIXME # remove check as soon as we find out about the other readers
        case "$CDROMREADERSYNTAX" in
 if [ "$ONETRACK" = "y" ]; then 
        # FIXME # remove check as soon as we find out about the other readers
        case "$CDROMREADERSYNTAX" in
-               dagrab|cddafs|debug) echo "abcde error: ONETRACK reading is not suported with "$CDROMREADERSYNTAX" yet"
+               dagrab|cddafs|debug) echo "abcde error: ONETRACK reading is not suported with $CDROMREADERSYNTAX yet"
                                         exit 1 ;;
        esac
        if [ "$BATCH" = "y" ]; then
                                         exit 1 ;;
        esac
        if [ "$BATCH" = "y" ]; then