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/shn/shn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/shn') diff --git a/plugins/shn/shn.c b/plugins/shn/shn.c index 7d33de5e..87440ee2 100644 --- a/plugins/shn/shn.c +++ b/plugins/shn/shn.c @@ -894,7 +894,7 @@ shn_insert (DB_playItem_t *after, const char *fname) { } DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); - it->filetype = "Shorten"; + deadbeef->pl_add_meta (it, ":FILETYPE", "Shorten"); deadbeef->pl_set_item_duration (it, tmp_file->wave_header.length); int apeerr = deadbeef->junk_apev2_read (it, tmp_file->vars.fd); -- cgit v1.2.3