From fd04c7a395f4ac26942222e29e2dd9a8901bff41 Mon Sep 17 00:00:00 2001 From: waker Date: Thu, 24 Mar 2011 21:30:11 +0100 Subject: got rid of filetype field in playitem structure --- plugins/ffap/ffap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ffap') diff --git a/plugins/ffap/ffap.c b/plugins/ffap/ffap.c index 4c414a9f..7abf0103 100644 --- a/plugins/ffap/ffap.c +++ b/plugins/ffap/ffap.c @@ -1765,7 +1765,7 @@ ffap_insert (DB_playItem_t *after, const char *fname) { float duration = ape_ctx.totalsamples / (float)ape_ctx.samplerate; DB_playItem_t *it = NULL; it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); - it->filetype = "APE"; + deadbeef->pl_add_meta (it, ":FILETYPE", "APE"); deadbeef->pl_set_item_duration (it, duration); /*int v2err = */deadbeef->junk_id3v2_read (it, fp); -- cgit v1.2.3