summaryrefslogtreecommitdiff
path: root/apps/metadata/mp4.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2007-06-25 11:15:44 +0000
committerDan Everton <dan@iocaine.org>2007-06-25 11:15:44 +0000
commit708ac7feb3981fe62d85b0e97c035b950a9c7d3b (patch)
treefaaa9c8af9c58d853f36574720ebfc68e31877ac /apps/metadata/mp4.c
parenta28d74e71cacc947fcb7563f0f3ea8bba92bab0e (diff)
Support aART (album artist) MP4 atom.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13709 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/mp4.c')
-rw-r--r--apps/metadata/mp4.c6
1 files changed, 6 insertions, 0 deletions
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);