diff options
-rw-r--r-- | src/playlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c index 9546dee70..89b4fdd99 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -945,6 +945,7 @@ int playPlaylist(int fd, int song, int stopOnError) playlist.current = 0; swapOrder(i, playlist.current); i = playlist.current; + randomizeOrder(i + 1, playlist.length - 1); } } |