summaryrefslogtreecommitdiff
path: root/plugins/cdda/cdda.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cdda/cdda.c')
-rw-r--r--plugins/cdda/cdda.c2
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 ();
}