diff options
author | 2011-05-08 21:14:30 +0200 | |
---|---|---|
committer | 2011-05-08 21:14:30 +0200 | |
commit | 3ec7a3d62a7383f19d4d4ee68ea9f0c66c9fe970 (patch) | |
tree | e7f95127ad480f446c10c81ffe220e581622e8e2 /plugins/dumb | |
parent | b5ffaa4ae71ce0520d55b99e0501b92c031e860e (diff) |
changed few old-style pl_* functions which were working with current playlist with the new ones, working with specific playlist passed as argument
Diffstat (limited to 'plugins/dumb')
-rw-r--r-- | plugins/dumb/cdumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dumb/cdumb.c b/plugins/dumb/cdumb.c index e85ce37a..59eec4ef 100644 --- a/plugins/dumb/cdumb.c +++ b/plugins/dumb/cdumb.c @@ -814,7 +814,7 @@ cdumb_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { read_metadata_internal (it, itsd); dumb_it_do_initial_runthrough (duh); - deadbeef->pl_set_item_duration (it, duh_get_length (duh)/65536.0f); + deadbeef->plt_set_item_duration (plt, it, duh_get_length (duh)/65536.0f); deadbeef->pl_add_meta (it, ":FILETYPE", ftype); // printf ("duration: %f\n", _info->duration); after = deadbeef->plt_insert_item (plt, after, it); |