summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-03-26 14:23:32 +0000
committerDan Everton <dan@iocaine.org>2006-03-26 14:23:32 +0000
commit358055ece940e39e98e9da526e509ac1ac37e3dd (patch)
treedee3ca77e9afad496c5382b065962bec5847cf63 /firmware/id3.c
parenta93e59152a6a1e97f90ca5345ef2d34ac378922a (diff)
Add TDRC tag from id3 v2.4 to fix year not showing in files tagged with id3 v2.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9258 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index fcca992667..aa370e836e 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -347,6 +347,7 @@ static const struct tag_resolver taglist[] = {
{ "TAL", 3, offsetof(struct mp3entry, album), NULL },
{ "TRK", 3, offsetof(struct mp3entry, track_string), &parsetracknum },
{ "TRCK", 4, offsetof(struct mp3entry, track_string), &parsetracknum },
+ { "TDRC", 4, offsetof(struct mp3entry, year_string), &parseyearnum },
{ "TYER", 4, offsetof(struct mp3entry, year_string), &parseyearnum },
{ "TYE", 3, offsetof(struct mp3entry, year_string), &parseyearnum },
{ "TCOM", 4, offsetof(struct mp3entry, composer), NULL },