diff options
Diffstat (limited to 'plugins/vorbis/vorbis.c')
-rw-r--r-- | plugins/vorbis/vorbis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 2a10322c..e3568099 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -83,6 +83,9 @@ update_vorbis_comments (DB_playItem_t *it, vorbis_comment *vc) { else if (!strncasecmp (vc->user_comments[i], "title=", 6)) { deadbeef->pl_add_meta (it, "title", vc->user_comments[i] + 6); } + else if (!strncasecmp (vc->user_comments[i], "tracknumber=", 12)) { + deadbeef->pl_add_meta (it, "track", vc->user_comments[i] + 12); + } else if (!strncasecmp (vc->user_comments[i], "date=", 5)) { deadbeef->pl_add_meta (it, "date", vc->user_comments[i] + 5); } |