Corrected invalid tagging in OGG opus file.
authorAndrew Strong <andrew.david.strong@gmail.com>
Tue, 1 Jul 2014 08:25:04 +0000 (18:25 +1000)
committerAndrew Strong <andrew.david.strong@gmail.com>
Tue, 1 Jul 2014 08:25:04 +0000 (18:25 +1000)
Thanks to Alexis-Emmanuel Haeringer for the patch.
This corrects Issue 108.

abcde

diff --git a/abcde b/abcde
index 051ad66..a89387d 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -1147,7 +1147,7 @@ do_encode ()
                                            fi
                                            # Tag the file at encode time, as it can't be done after encoding.
                                            if [ "$DOTAG" = "y" ]; then
-                                             $RUN_COMMAND nice $EFFECTIVE_NICE $OPUSENCODER $OPUSENCODEROPTS --artist "$TRACKARTIST" --comment album="$DALBUM" --title "$TRACKNAME" --comment track="$1" --comment genre="$CDGENRE" --comment year="$CDYEAR" ${COMMENT:+--comment "$COMMENT"} "$IN" "$OUT"
+                                              $RUN_COMMAND nice $EFFECTIVE_NICE $OPUSENCODER $OPUSENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" --title "$TRACKNAME" --genre "$CDGENRE" --date "$CDYEAR" --comment TRACKNUMBER="$1" ${COMMENT:+--comment "$COMMENT"} "$IN" "$OUT"
                                            else
                                              $RUN_COMMAND nice $EFFECTIVE_NICE $OPUSENCODER $OPUSENCODEROPTS "$IN" "$OUT"  
                                            fi