summaryrefslogtreecommitdiff
path: root/apps/metadata
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
parenta28d74e71cacc947fcb7563f0f3ea8bba92bab0e (diff)
downloadrockbox-708ac7feb3981fe62d85b0e97c035b950a9c7d3b.tar.gz
rockbox-708ac7feb3981fe62d85b0e97c035b950a9c7d3b.zip
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')
-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 @@
33#define MP4_ID(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) 33#define MP4_ID(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
34 34
35#define MP4_3gp6 MP4_ID('3', 'g', 'p', '6') 35#define MP4_3gp6 MP4_ID('3', 'g', 'p', '6')
36#define MP4_aART MP4_ID('a', 'A', 'R', 'T')
36#define MP4_alac MP4_ID('a', 'l', 'a', 'c') 37#define MP4_alac MP4_ID('a', 'l', 'a', 'c')
37#define MP4_calb MP4_ID(0xa9, 'a', 'l', 'b') 38#define MP4_calb MP4_ID(0xa9, 'a', 'l', 'b')
38#define MP4_cART MP4_ID(0xa9, 'A', 'R', 'T') 39#define MP4_cART MP4_ID(0xa9, 'A', 'R', 'T')
@@ -367,6 +368,11 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3,
367 &id3->artist); 368 &id3->artist);
368 break; 369 break;
369 370
371 case MP4_aART:
372 read_mp4_tag_string(fd, size, &buffer, &buffer_left,
373 &id3->albumartist);
374 break;
375
370 case MP4_calb: 376 case MP4_calb:
371 read_mp4_tag_string(fd, size, &buffer, &buffer_left, 377 read_mp4_tag_string(fd, size, &buffer, &buffer_left,
372 &id3->album); 378 &id3->album);