summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 2edcaf3a03..319b5f4a77 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -118,7 +118,7 @@ bool ft_play_playlist(char* pathname, char* dirname, char* filename)
118 playlist_shuffle(current_tick, -1); 118 playlist_shuffle(current_tick, -1);
119 } 119 }
120 120
121 playlist_start(0, 0); 121 playlist_start(0, 0, 0);
122 return true; 122 return true;
123 } 123 }
124 124
@@ -498,7 +498,7 @@ int ft_enter(struct tree_context* c)
498 start_index = 0; 498 start_index = 0;
499 } 499 }
500 500
501 playlist_start(start_index, 0); 501 playlist_start(start_index, 0, 0);
502 play = true; 502 play = true;
503 } 503 }
504 break; 504 break;
@@ -705,6 +705,7 @@ int ft_enter(struct tree_context* c)
705 global_status.resume_index = start_index; 705 global_status.resume_index = start_index;
706 global_status.resume_crc32 = 706 global_status.resume_crc32 =
707 playlist_get_filename_crc32(NULL, start_index); 707 playlist_get_filename_crc32(NULL, start_index);
708 global_status.resume_elapsed = 0;
708 global_status.resume_offset = 0; 709 global_status.resume_offset = 0;
709 status_save(); 710 status_save();
710 rc = GO_TO_WPS; 711 rc = GO_TO_WPS;