summaryrefslogtreecommitdiff
path: root/plugins/vorbis
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-12 19:54:38 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-12 19:54:38 +0100
commitebabdc99d7bcab39b80f8ac3938a477c3190fa27 (patch)
tree6045b74af4e638d3619b403a141ff5e6e7aa549c /plugins/vorbis
parenta7c7783db09cbfcbd51580e199aab6a90d812a81 (diff)
parente910b7181430af5996e8b3378fb3ba4b79e5f3cf (diff)
Merge branch 'master' into guiplug
Diffstat (limited to 'plugins/vorbis')
-rw-r--r--plugins/vorbis/vorbis.c3
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);
}