diff options
| -rw-r--r-- | apps/onplay.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 7655a8e..e01dc60 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -136,12 +136,8 @@ static bool list_viewers(void) static bool shuffle_playlist(void) { - int seed, index; - - seed = playlist_get_seed(NULL); - index = playlist_get_first_index(NULL); - - playlist_shuffle(seed, index); + playlist_sort(NULL, true); + playlist_randomise(NULL, current_tick, true); return false; } |