From 9d529eb05995069583ffa3e07670c0ea23b42b15 Mon Sep 17 00:00:00 2001 From: waker Date: Tue, 10 May 2011 21:34:49 +0200 Subject: added several new plt_* functions to work on specific playlists --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index c671a58f..80e07b27 100644 --- a/main.c +++ b/main.c @@ -245,9 +245,9 @@ server_exec_command_line (const char *cmdline, int len, char *sendback, int sbsi // add files playlist_t *curr_plt = plt_get_curr (); if (!queue) { - pl_clear (); + plt_clear (curr_plt); messagepump_push (DB_EV_PLAYLISTCHANGED, 0, 0, 0); - pl_reset_cursor (); + plt_reset_cursor (curr_plt); } if (parg < pend) { if (deadbeef->pl_add_files_begin ((ddb_playlist_t *)curr_plt) != 0) { -- cgit v1.2.3