summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-10-20 10:22:41 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-10-20 10:22:41 +0000
commit0bce9580a1ae8b14712c350825a201028c923236 (patch)
tree924cc46763ccf712c0fa02f296c55aec8c73fb10 /firmware
parent69642850156935128341ec4564857b35a961dde2 (diff)
downloadrockbox-0bce9580a1ae8b14712c350825a201028c923236.tar.gz
rockbox-0bce9580a1ae8b14712c350825a201028c923236.zip
Added tag resolvers for TYE, TAL and TRK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3980 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/id3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 71572217a1..dd3fb1ab8a 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -141,9 +141,11 @@ static struct tag_resolver taglist[] = {
141 { "TIT2", 4, offsetof(struct mp3entry, title), NULL }, 141 { "TIT2", 4, offsetof(struct mp3entry, title), NULL },
142 { "TT2", 3, offsetof(struct mp3entry, title), NULL }, 142 { "TT2", 3, offsetof(struct mp3entry, title), NULL },
143 { "TALB", 4, offsetof(struct mp3entry, album), NULL }, 143 { "TALB", 4, offsetof(struct mp3entry, album), NULL },
144 { "TAL", 3, offsetof(struct mp3entry, album), NULL },
145 { "TRK", 3, offsetof(struct mp3entry, track_string), &parsetracknum },
144 { "TRCK", 4, offsetof(struct mp3entry, track_string), &parsetracknum }, 146 { "TRCK", 4, offsetof(struct mp3entry, track_string), &parsetracknum },
145 { "TYER", 4, offsetof(struct mp3entry, year_string), &parseyearnum }, 147 { "TYER", 4, offsetof(struct mp3entry, year_string), &parseyearnum },
146 { "TYR", 3, offsetof(struct mp3entry, year_string), &parseyearnum }, 148 { "TYE", 3, offsetof(struct mp3entry, year_string), &parseyearnum },
147 { "TCON", 4, offsetof(struct mp3entry, genre_string), &parsegenre }, 149 { "TCON", 4, offsetof(struct mp3entry, genre_string), &parsegenre },
148 { "TCOM", 4, offsetof(struct mp3entry, composer), NULL } 150 { "TCOM", 4, offsetof(struct mp3entry, composer), NULL }
149}; 151};