summaryrefslogtreecommitdiff
path: root/plugins/m3u
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-08 21:14:30 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-08 21:14:30 +0200
commit3ec7a3d62a7383f19d4d4ee68ea9f0c66c9fe970 (patch)
treee7f95127ad480f446c10c81ffe220e581622e8e2 /plugins/m3u
parentb5ffaa4ae71ce0520d55b99e0501b92c031e860e (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/m3u')
-rw-r--r--plugins/m3u/m3u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c
index fae1f6c6..e293dc2a 100644
--- a/plugins/m3u/m3u.c
+++ b/plugins/m3u/m3u.c
@@ -87,7 +87,7 @@ load_m3u (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname, int *pab
DB_playItem_t *it = NULL;
if (strrchr (nm, '/')) {
trace ("pl_insert_m3u: adding file %s\n", nm);
- it = deadbeef->pl_insert_file (after, nm, pabort, cb, user_data);
+ it = deadbeef->plt_insert_file (plt, after, nm, pabort, cb, user_data);
}
else {
int l = strlen (nm);
@@ -95,7 +95,7 @@ load_m3u (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname, int *pab
memcpy (fullpath, fname, slash - fname + 1);
strcpy (fullpath + (slash - fname + 1), nm);
trace ("pl_insert_m3u: adding file %s\n", fullpath);
- it = deadbeef->pl_insert_file (after, fullpath, pabort, cb, user_data);
+ it = deadbeef->plt_insert_file (plt, after, fullpath, pabort, cb, user_data);
}
if (it) {
after = it;