Add support for shuffle in DACP playspec request

This commit is contained in:
Julien BLACHE
2010-07-31 12:07:51 +02:00
parent fa0ee0553a
commit 94b4cd2459
2 changed files with 39 additions and 23 deletions

View File

@@ -474,6 +474,10 @@ player_queue_make_pl(int plid, uint32_t *id)
ps = player_queue_make(&qp, NULL);
/* Shortcut for shuffled playlist */
if (*id == 0)
return ps;
p = ps;
i = 0;
do