Allow fdkaac to tag 'Recorded date' for CDYEAR.
authorAndrew Strong <andrew.david.strong@gmail.com>
Sun, 18 Jan 2015 08:48:21 +0000 (19:48 +1100)
committerAndrew Strong <andrew.david.strong@gmail.com>
Sun, 18 Jan 2015 08:48:21 +0000 (19:48 +1100)
abcde

diff --git a/abcde b/abcde
index 3754423..78dbb02 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -1246,7 +1246,7 @@ do_encode ()
                         fdkaac)                     
                        if [ "$DOTAG" = "y" ]; then
                          $RUN_COMMAND nice $EFFECTIVE_NICE $AACENCODER $AACENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" \
-                         --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --long-tag Year:"$CDYEAR" --comment "$COMMENT" "$IN" -o "$OUT"
+                         --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --date "$CDYEAR" --comment "$COMMENT" "$IN" -o "$OUT"
                            else
                     $RUN_COMMAND nice $EFFECTIVE_NICE $AACENCODER $AACENCODEROPTS "$IN" -o "$OUT"      
                            fi