summaryrefslogtreecommitdiff
path: root/plugins/gme/cgme.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-23 13:27:00 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-23 13:27:00 +0100
commitb423aead38823dcce46f80f5c5028f121b60354e (patch)
tree0b97fa8d7e73af3acaf97942a24ee968416fbbc4 /plugins/gme/cgme.c
parente63605b54f3102f85d007b23e936e458506bc223 (diff)
fixed subtrack flag in gme and mpc
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);
}