Package: abcde
Version: 2.5.0-1
Tags: patch

abcde will put a CDDB tag into sound files with the musicbrainz
discid.  I don't think that's a good idea.

--- /usr/bin/abcde~     2012-04-17 16:53:24.933834091 +0100
+++ /usr/bin/abcde      2012-04-17 19:03:33.688555630 +0100
@@ -786,7 +797,9 @@
        if [ -z "$COMMENTOUTPUT" ]; then
                COMMENTOUTPUT="$(getcddbinfo TRACK-INFO)"
        fi
-       CDDBDISCID=$(echo $TRACKINFO | cut -d' ' -f1)
+       if [ "$CDDBMETHOD" = "cddb" ]; then
+               CDDBDISCID=$(echo $TRACKINFO | cut -d' ' -f1)
+       fi
        run_command '' echo "Tagging track $1 of $TRACKS: $TRACKNAME..."
        # If we want to start the tracks with a given number, we need to modify 
the
        # TRACKNUM value before evaluation

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to