summaryrefslogtreecommitdiff
path: root/apps/metadata
diff options
context:
space:
mode:
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);