From 708ac7feb3981fe62d85b0e97c035b950a9c7d3b Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Mon, 25 Jun 2007 11:15:44 +0000 Subject: Support aART (album artist) MP4 atom. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13709 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata/mp4.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps') diff --git a/apps/metadata/mp4.c b/apps/metadata/mp4.c index 6523bb6551..6bf7e071ab 100644 --- a/apps/metadata/mp4.c +++ b/apps/metadata/mp4.c @@ -33,6 +33,7 @@ #define MP4_ID(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) #define MP4_3gp6 MP4_ID('3', 'g', 'p', '6') +#define MP4_aART MP4_ID('a', 'A', 'R', 'T') #define MP4_alac MP4_ID('a', 'l', 'a', 'c') #define MP4_calb MP4_ID(0xa9, 'a', 'l', 'b') #define MP4_cART MP4_ID(0xa9, 'A', 'R', 'T') @@ -367,6 +368,11 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3, &id3->artist); break; + case MP4_aART: + read_mp4_tag_string(fd, size, &buffer, &buffer_left, + &id3->albumartist); + break; + case MP4_calb: read_mp4_tag_string(fd, size, &buffer, &buffer_left, &id3->album); -- cgit v1.2.3