From 301f38f04ab0a6c693f5872968059d999202c227 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Wed, 23 Dec 2009 20:54:08 +0100 Subject: minor typo-fix in decoder template --- decoder_template.c | 6 +++--- 1 file 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 -- cgit v1.2.3