diff options
-rw-r--r-- | decoder_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder_template.c b/decoder_template.c index bfa2af8b..2f47582e 100644 --- a/decoder_template.c +++ b/decoder_template.c @@ -140,12 +140,12 @@ example: // add metainfo if (!strlen (ti.title)) { // title is empty, this call will set track title to filename without extension - deadbeef->pl_add_meta ("title", NULL); + deadbeef->pl_add_meta (it, "title", NULL); } else { - deadbeef->pl_add_meta ("title", ti.title); + deadbeef->pl_add_meta (it, "title", ti.title); } - deadbeef->pl_add_meta ("artist", ti.artist); + deadbeef->pl_add_meta (it, "artist", ti.artist); // ... etc ... // free decoder |