aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 18:41:12 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 18:41:12 +0100
commit0e5af7d0f6406ada62500a30cedf0089073ee8cb (patch)
treef5c8bacf5ce548138d9b6a679e22977f79b8c611 /src/command.c
parent62159e8875259641de98e9ec1c2f90bc2e31727a (diff)
downloadmpd-0e5af7d0f6406ada62500a30cedf0089073ee8cb.tar.gz
mpd-0e5af7d0f6406ada62500a30cedf0089073ee8cb.tar.xz
mpd-0e5af7d0f6406ada62500a30cedf0089073ee8cb.zip
playlist: restore random mode after playlist is loaded
When the playlist was loaded from the state file, the order numbers were the same as the positions. In random mode, we need to shuffle the queue order. To accomplish that, call setPlaylistRandomStatus() at the end of readPlaylistState(), and do a fresh shuffle.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions