mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-26 08:50:11 -04:00
fix first item is not shuffled
This commit is contained in:
parent
a966c095d2
commit
d19fbe5ed7
@ -2832,13 +2832,13 @@ playback_start(struct player_command *cmd)
|
|||||||
cur_streaming = NULL;
|
cur_streaming = NULL;
|
||||||
|
|
||||||
if (shuffle)
|
if (shuffle)
|
||||||
|
{
|
||||||
source_reshuffle();
|
source_reshuffle();
|
||||||
|
cur_streaming = shuffle_head;
|
||||||
|
}
|
||||||
|
else
|
||||||
cur_streaming = ps;
|
cur_streaming = ps;
|
||||||
|
|
||||||
if (shuffle)
|
|
||||||
shuffle_head = cur_streaming;
|
|
||||||
|
|
||||||
ret = source_open(cur_streaming, 0);
|
ret = source_open(cur_streaming, 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user