From 8c1c8597ac3c0b43c654ed2fcdfc7320bf6eeb32 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 18 Oct 2024 06:55:15 +0200 Subject: plugins: playing time: OBOE Change-Id: I1c6b73e06ac615db6e764aa54f042ec4e2dee3a2 --- apps/plugins/playing_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c index 47784cf85e..5b07840878 100644 --- a/apps/plugins/playing_time.c +++ b/apps/plugins/playing_time.c @@ -422,7 +422,7 @@ static int pt_add_track(int i, enum ePT_SUM section, struct playing_time_info *p struct playlist_track_info pl_track; static unsigned long talked_tick; int progress_total = pti->remaining_only ? - pti->nb_tracks - pti->curr_display_index : + (pti->nb_tracks - pti->curr_display_index) + 1 : pti->nb_tracks; rb->splash_progress(pti->counted, progress_total, "%s (%s)", -- cgit v1.2.3