From ba627987465b565356fe373a5225f241c98c7710 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Mon, 30 Oct 2023 22:44:26 +0100 Subject: Playing Time plugin: Fix calculation for shuffled playlists Playing Time produced incorrect results when the playlist's first index wasn't 0. Change-Id: I1c11b876e0e435c824c9ddc0863fd7ee76bda073 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index cb6990384c..bd93cb8b5c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -835,6 +835,8 @@ static const struct plugin_api rockbox_api = { #ifdef HAVE_TAGCACHE tagcache_commit_finalize, #endif + playlist_get_first_index, + playlist_get_display_index, }; static int plugin_buffer_handle; -- cgit v1.2.3