diff options
author | waker <wakeroid@gmail.com> | 2011-05-10 21:34:49 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-10 21:34:49 +0200 |
commit | 9d529eb05995069583ffa3e07670c0ea23b42b15 (patch) | |
tree | 055c27ab1954e8a8493a519bc5de9d27807293a9 /main.c | |
parent | 1a8737e1466a3c17d77ab30e2035472feb7c2773 (diff) |
added several new plt_* functions to work on specific playlists
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |