summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index a66318b2fc..851aa83a5a 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -460,7 +460,9 @@ static const struct tag_resolver taglist[] = {
460 { "TYE", 3, offsetof(struct mp3entry, year_string), &parseyearnum, false }, 460 { "TYE", 3, offsetof(struct mp3entry, year_string), &parseyearnum, false },
461 { "TCOM", 4, offsetof(struct mp3entry, composer), NULL, false }, 461 { "TCOM", 4, offsetof(struct mp3entry, composer), NULL, false },
462 { "TPE2", 4, offsetof(struct mp3entry, albumartist), NULL, false }, 462 { "TPE2", 4, offsetof(struct mp3entry, albumartist), NULL, false },
463 { "TP2", 3, offsetof(struct mp3entry, albumartist), NULL, false }, 463 { "TP2", 3, offsetof(struct mp3entry, albumartist), NULL, false },
464 { "TIT1", 4, offsetof(struct mp3entry, grouping), NULL, false },
465 { "TT1", 3, offsetof(struct mp3entry, grouping), NULL, false },
464 { "COMM", 4, offsetof(struct mp3entry, comment), NULL, false }, 466 { "COMM", 4, offsetof(struct mp3entry, comment), NULL, false },
465 { "TCON", 4, offsetof(struct mp3entry, genre_string), &parsegenre, false }, 467 { "TCON", 4, offsetof(struct mp3entry, genre_string), &parsegenre, false },
466 { "TCO", 3, offsetof(struct mp3entry, genre_string), &parsegenre, false }, 468 { "TCO", 3, offsetof(struct mp3entry, genre_string), &parsegenre, false },
@@ -1192,6 +1194,8 @@ void adjust_mp3entry(struct mp3entry *entry, void *dest, void *orig)
1192 entry->comment += offset; 1194 entry->comment += offset;
1193 if (entry->albumartist) 1195 if (entry->albumartist)
1194 entry->albumartist += offset; 1196 entry->albumartist += offset;
1197 if (entry->grouping)
1198 entry->grouping += offset;
1195#if CONFIG_CODEC == SWCODEC 1199#if CONFIG_CODEC == SWCODEC
1196 if (entry->track_gain_string) 1200 if (entry->track_gain_string)
1197 entry->track_gain_string += offset; 1201 entry->track_gain_string += offset;