summaryrefslogtreecommitdiff
path: root/plugins/dumb
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-03-24 21:30:11 +0100
committerGravatar waker <wakeroid@gmail.com>2011-03-24 21:30:11 +0100
commitfd04c7a395f4ac26942222e29e2dd9a8901bff41 (patch)
tree0ed33d33f0171603c7f6503b52f5512770e59fcd /plugins/dumb
parent2278425be18b7600c055e54e5777b44858e1af4e (diff)
got rid of filetype field in playitem structure
Diffstat (limited to 'plugins/dumb')
-rw-r--r--plugins/dumb/cdumb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dumb/cdumb.c b/plugins/dumb/cdumb.c
index 5b665f9b..b5367640 100644
--- a/plugins/dumb/cdumb.c
+++ b/plugins/dumb/cdumb.c
@@ -814,7 +814,7 @@ cdumb_insert (DB_playItem_t *after, const char *fname) {
dumb_it_do_initial_runthrough (duh);
deadbeef->pl_set_item_duration (it, duh_get_length (duh)/65536.0f);
- it->filetype = ftype;
+ deadbeef->pl_add_meta (it, ":FILETYPE", ftype);
// printf ("duration: %f\n", _info->duration);
after = deadbeef->pl_insert_item (after, it);
deadbeef->pl_item_unref (it);