Rev 5825 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5825 | Rev 6152 | ||
---|---|---|---|
Line 314... | Line 314... | ||
314 | { |
314 | { |
315 | word i; |
315 | word i; |
316 | char item_path[4096]; |
316 | char item_path[4096]; |
317 | char notify_message[512]; |
317 | char notify_message[512]; |
318 | StopPlayingMp3(); |
318 | StopPlayingMp3(); |
319 | if (!list.count) { NotifyAndBackFocus("'Pixie Player\nPress O key to open file' -St"); return; } |
319 | if (!list.count) { NotifyAndBackFocus("'Pixie Player\nPress O key to open MP3 file' -St"); return; } |
320 | if (current_playing_file_n > list.count) { current_playing_file_n = list.count; return; } |
320 | if (current_playing_file_n > list.count) { current_playing_file_n = list.count; return; } |
321 | if (current_playing_file_n < 0) { current_playing_file_n = 0; return; } |
321 | if (current_playing_file_n < 0) { current_playing_file_n = 0; return; } |
322 | playback_mode = PLAYBACK_MODE_PLAYING; |
322 | playback_mode = PLAYBACK_MODE_PLAYING; |
323 | strlcpy(#current_filename, Getcur_yItemName(), sizeof(current_filename)); |
323 | strlcpy(#current_filename, Getcur_yItemName(), sizeof(current_filename)); |
324 | sprintf(#item_path,"\"%s/%s\"",#work_folder,#current_filename); |
324 | sprintf(#item_path,"\"%s/%s\"",#work_folder,#current_filename); |