eyeD3: Use a 'Year' tag that common applications will read.
authorAndrew Strong <andrew.david.strong@gmail.com>
Sun, 18 Jan 2015 08:36:06 +0000 (19:36 +1100)
committerAndrew Strong <andrew.david.strong@gmail.com>
Sun, 18 Jan 2015 08:36:06 +0000 (19:36 +1100)
eyeD3 currently uses TDRL 'release year' for CDDB's Date
entry which applications such as vlc and Audacious ignore.
This patch allows the same value to also be written as
TDRC 'recording date' which vlc and Audacious will read.

Thanks to Reuben Thomas for finding the issue and
demonstrating the fix. This closes Issue 126.

abcde
changelog

diff --git a/abcde b/abcde
index da35fab..3754423 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -845,11 +845,17 @@ do_tag ()
                                                eyed3_06) addopts=( \
                                                        ${ENCODING:+--set-encoding="$ENCODING"} \
                                                        ${TPE2:+--set-text-frame=TPE2:"$TPE2"} \
+                                       # We set 'recording-date' as a work around so the date tag will show 
+                                       # in Audacious, vlc and friends...                            Andrew.
+                                                       ${CDYEAR:+--set-text-frame="TDRC:$CDYEAR"} \
                                                        ${COMMENTOUTPUT:+--comment=::"$COMMENTOUTPUT"} \
                                                        );;
                                                *) addopts=( \
                                                        ${ENCODING:+--encoding="$ENCODING"} \
                                                        ${TPE2:+--text-frame=TPE2:"$TPE2"} \
+                                       # We set 'recording-date' as a work around so the date tag will show 
+                                       # in Audacious, vlc and friends...                            Andrew.
+                                                       ${CDYEAR:+--text-frame="TDRC:$CDYEAR"} \
                                                        ${COMMENTOUTPUT:+--comment "$COMMENTOUTPUT"} \
                                                        );;
                                        esac
index bec6e63..15f302f 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,5 +1,8 @@
 abcde 2.6.1
 
+  * Fix to allow display of the 'date' meta tag generated
+    by eyeD3 in vlc, Audacious and friends.
+    Thanks to Reuben Thomas. This closes Issue 126.
   * Fix for flac floating point error. Thanks to rwvtveer
     for the patch which closes Issue 113.
   * Formalised 3 methods of mp3 tagging using ID3TAGV: