forked from len0rd/rockbox
Now uses global_settings.playlist_shuffle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1233 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e606fae6a9
commit
9fbdae59f8
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@
|
||||||
#include "mpeg.h"
|
#include "mpeg.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
|
#include "settings.h"
|
||||||
|
|
||||||
playlist_info_t playlist;
|
playlist_info_t playlist;
|
||||||
bool playlist_shuffle = false;
|
|
||||||
|
|
||||||
char now_playing[256];
|
char now_playing[256];
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ void play_list(char *dir, char *file)
|
||||||
/* add track indices to playlist data structure */
|
/* add track indices to playlist data structure */
|
||||||
add_indices_to_playlist(&playlist);
|
add_indices_to_playlist(&playlist);
|
||||||
|
|
||||||
if(playlist_shuffle) {
|
if(global_settings.playlist_shuffle) {
|
||||||
lcd_puts(0,0,"Shuffling...");
|
lcd_puts(0,0,"Shuffling...");
|
||||||
lcd_update();
|
lcd_update();
|
||||||
randomise_playlist( &playlist, current_tick );
|
randomise_playlist( &playlist, current_tick );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue