summaryrefslogtreecommitdiff
path: root/apps/plugins/playing_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/playing_time.c')
-rw-r--r--apps/plugins/playing_time.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c
index f8b4b006a9..1da0d437c0 100644
--- a/apps/plugins/playing_time.c
+++ b/apps/plugins/playing_time.c
@@ -350,7 +350,7 @@ static bool playing_time(void)
350 continue; 350 continue;
351 351
352 if (rb->playlist_get_track_info(NULL, index, &pltrack) < 0 352 if (rb->playlist_get_track_info(NULL, index, &pltrack) < 0
353 || rb->mp3info(&id3, pltrack.filename)) 353 || !rb->get_metadata(&id3, -1, pltrack.filename))
354 { 354 {
355 error_count++; 355 error_count++;
356 continue; 356 continue;
@@ -392,7 +392,8 @@ static bool playing_time(void)
392 rb->gui_synclist_draw(&pt_lists); 392 rb->gui_synclist_draw(&pt_lists);
393 rb->gui_synclist_speak_item(&pt_lists); 393 rb->gui_synclist_speak_item(&pt_lists);
394 while (true) { 394 while (true) {
395 if (rb->list_do_action(CONTEXT_LIST, HZ/2, &pt_lists, &key) == 0 395 key = rb->get_action(CONTEXT_LIST, HZ/2);
396 if (rb->gui_synclist_do_button(&pt_lists, &key) == 0
396 && key!=ACTION_NONE && key!=ACTION_UNKNOWN) 397 && key!=ACTION_NONE && key!=ACTION_UNKNOWN)
397 { 398 {
398 bool usb = rb->default_event_handler(key) == SYS_USB_CONNECTED; 399 bool usb = rb->default_event_handler(key) == SYS_USB_CONNECTED;