mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
[mpd] Fix item-id in playlist items
This commit is contained in:
parent
48691748cd
commit
51eb423065
@ -576,6 +576,10 @@ queue_new_byindex(struct queue *queue, unsigned int index, unsigned int count, c
|
|||||||
qii->shuffle_prev = qii;
|
qii->shuffle_prev = qii;
|
||||||
|
|
||||||
queue_add(qi, qii);
|
queue_add(qi, qii);
|
||||||
|
|
||||||
|
// queue_add(...) changes the queue item-id, reset the item-id to the original value
|
||||||
|
qii->item_id = item->item_id;
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user