summaryrefslogtreecommitdiff
path: root/plugins/vtx
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-19 00:02:57 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-19 00:02:57 +0100
commit9bfb851af15b94be6387b505fa74ea99546e8ede (patch)
treea8fb314bdb0e401dba509f034ab4c6c5c7acb85f /plugins/vtx
parent8674104981f0fc91ce504d8702572b8cd8b1fc25 (diff)
artist/album/title setting for vtx
Diffstat (limited to 'plugins/vtx')
-rw-r--r--plugins/vtx/vtx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/vtx/vtx.c b/plugins/vtx/vtx.c
index 2014aee8..42951795 100644
--- a/plugins/vtx/vtx.c
+++ b/plugins/vtx/vtx.c
@@ -108,7 +108,9 @@ vtx_insert (DB_playItem_t *after, const char *fname) {
deadbeef->pl_set_item_duration (it, (float)totalsamples/hdr->playerFreq);
// add metadata
- deadbeef->pl_add_meta (it, "title", NULL);
+ deadbeef->pl_add_meta (it, "title", hdr->title);
+ deadbeef->pl_add_meta (it, "artist", hdr->author);
+ deadbeef->pl_add_meta (it, "album", hdr->from);
ayemu_vtx_free (hdr);
after = deadbeef->pl_insert_item (after, it);