diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 18:41:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 18:41:12 +0100 |
commit | 0e5af7d0f6406ada62500a30cedf0089073ee8cb (patch) | |
tree | f5c8bacf5ce548138d9b6a679e22977f79b8c611 /src/utils.c | |
parent | 62159e8875259641de98e9ec1c2f90bc2e31727a (diff) | |
download | mpd-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 'src/utils.c')
0 files changed, 0 insertions, 0 deletions