diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index c7d1505ae3..4a2a6fdab2 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -29,9 +29,9 @@ | |||
29 | #include "mpeg.h" | 29 | #include "mpeg.h" |
30 | #include "lcd.h" | 30 | #include "lcd.h" |
31 | #include "kernel.h" | 31 | #include "kernel.h" |
32 | #include "settings.h" | ||
32 | 33 | ||
33 | playlist_info_t playlist; | 34 | playlist_info_t playlist; |
34 | bool playlist_shuffle = false; | ||
35 | 35 | ||
36 | char now_playing[256]; | 36 | char now_playing[256]; |
37 | 37 | ||
@@ -107,7 +107,7 @@ void play_list(char *dir, char *file) | |||
107 | /* add track indices to playlist data structure */ | 107 | /* add track indices to playlist data structure */ |
108 | add_indices_to_playlist(&playlist); | 108 | add_indices_to_playlist(&playlist); |
109 | 109 | ||
110 | if(playlist_shuffle) { | 110 | if(global_settings.playlist_shuffle) { |
111 | lcd_puts(0,0,"Shuffling..."); | 111 | lcd_puts(0,0,"Shuffling..."); |
112 | lcd_update(); | 112 | lcd_update(); |
113 | randomise_playlist( &playlist, current_tick ); | 113 | randomise_playlist( &playlist, current_tick ); |