summaryrefslogtreecommitdiff
path: root/plugins/gme/cgme.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gme/cgme.c')
-rw-r--r--plugins/gme/cgme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c
index 5bedacc3..e04d1bf7 100644
--- a/plugins/gme/cgme.c
+++ b/plugins/gme/cgme.c
@@ -393,6 +393,9 @@ cgme_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) {
}
}
}
+ if (cnt > 1) {
+ deadbeef->pl_set_item_flags (it, deadbeef->pl_get_item_flags (it) | DDB_IS_SUBTRACK);
+ }
after = deadbeef->plt_insert_item (plt, after, it);
deadbeef->pl_item_unref (it);
}