diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-07 13:48:21 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-07 13:48:21 -0700 |
commit | 5881a3a65d3ff6ae29c3e10752827574c4c5b100 (patch) | |
tree | 37c9ce0dd6cd1535ab9741a655421b4ba290ee43 /m4 | |
parent | 28de5feab5392f0989633981c91e3131ca83427d (diff) | |
download | mpd-5881a3a65d3ff6ae29c3e10752827574c4c5b100.tar.gz mpd-5881a3a65d3ff6ae29c3e10752827574c4c5b100.tar.xz mpd-5881a3a65d3ff6ae29c3e10752827574c4c5b100.zip |
playlist: re-randomize when explicitly playing a new song
When random is enabled and a user explicitly specifies
a certain song on the playlist should be played; we need
to re-randomize the internal ordering.
To reproduce this, assuming a four song playlist:
play <song_a>
next => <song_b>
next => <song_c>
next => <song_d>
play <song_a>
next => <song_b>
next => <song_c>
next => <song_d>
...
That is, the "next" command restarts song_{b,c,d} the second
time "play" starts playing song_a.
Thus, the second time "play" is called, the ordering of
song_{b,c,d} needs to be reshuffled.
Reported-by: Qball
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions