diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 465470c069..44d1e34349 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -153,13 +153,15 @@ char* playlist_next(int steps) | |||
153 | } | 153 | } |
154 | } | 154 | } |
155 | 155 | ||
156 | void play_list(char *dir, char *file) | 156 | void play_list(char *dir, char *file, int start_index) |
157 | { | 157 | { |
158 | char *sep=""; | 158 | char *sep=""; |
159 | int dirlen; | 159 | int dirlen; |
160 | 160 | ||
161 | empty_playlist(); | 161 | empty_playlist(); |
162 | 162 | ||
163 | playlist.index = start_index; | ||
164 | |||
163 | /* If file is NULL, the list is in RAM */ | 165 | /* If file is NULL, the list is in RAM */ |
164 | if(file) { | 166 | if(file) { |
165 | lcd_clear_display(); | 167 | lcd_clear_display(); |