diff options
author | waker <wakeroid@gmail.com> | 2011-03-22 22:25:59 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-22 22:25:59 +0100 |
commit | 78621ec984f1d1fae0f3ba0ad70d0937bfe7ff82 (patch) | |
tree | de023bb4a0146b815373c5d30ec5728412728cc3 /plugins/cdda | |
parent | 7e88e3271a6d82fe3e97b43b1a81f0405c469d1c (diff) |
fixed cdaudio plugin to use pl_add_file_begin/end
Diffstat (limited to 'plugins/cdda')
-rw-r--r-- | plugins/cdda/cdda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c index 1a2a0ec6..d23bac38 100644 --- a/plugins/cdda/cdda.c +++ b/plugins/cdda/cdda.c @@ -522,7 +522,9 @@ cda_insert (DB_playItem_t *after, const char *fname) { static int cda_action_add_cd (DB_plugin_action_t *act, DB_playItem_t *it) { + deadbeef->pl_add_files_begin (deadbeef->plt_get_curr ()); deadbeef->pl_add_file ("all.cda", NULL, NULL); + deadbeef->pl_add_files_end (); deadbeef->plug_trigger_event_playlistchanged (); } |