Corrects syntax for the --comment tag with newer eyeD3.
authorAndrew David Strong <andrew.david.strong@gmail.com>
Mon, 5 Aug 2013 09:00:50 +0000 (09:00 +0000)
committerAndrew David Strong <andrew.david.strong@gmail.com>
Mon, 5 Aug 2013 09:00:50 +0000 (09:00 +0000)
Thanks to vskytta for the patch.
Closes issue 99.

abcde

diff --git a/abcde b/abcde
index d5198ab..051ad66 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -831,8 +831,9 @@ do_tag ()
                                        # --set-encoding and --set-text-frame so perhaps some version 
                                        # sniffing would be useful. Might also be better to simply cut 
                                        # ties with the older eyeD3... Andrew.
+                                       # eyeD3 --comment syntax is also different in < and >= 0.7.0
                                        run_command tagtrack-$OUTPUT-$1 nice $ENCNICE $TAGGER $TAGGEROPTS \
-                                               --comment=::"$COMMENTOUTPUT" -A "$DALBUM" \
+                                               --comment="$COMMENTOUTPUT" -A "$DALBUM" \
                                                -a "$TRACKARTIST" -t "$TRACKNAME" -Y "$CDYEAR" \
                                                -G "$GENREID" -n "${TRACKNUM:-$1}" \
                                                ${TRACKNUM:+-N "$TRACKS"} \