fix first item is not shuffled

This commit is contained in:
chme 2015-05-05 18:44:02 +02:00
parent a966c095d2
commit d19fbe5ed7
1 changed files with 6 additions and 6 deletions

View File

@ -2832,12 +2832,12 @@ playback_start(struct player_command *cmd)
cur_streaming = NULL;
if (shuffle)
source_reshuffle();
cur_streaming = ps;
if (shuffle)
shuffle_head = cur_streaming;
{
source_reshuffle();
cur_streaming = shuffle_head;
}
else
cur_streaming = ps;
ret = source_open(cur_streaming, 0);
if (ret < 0)