diff --git a/apps/plugin.c b/apps/plugin.c index a9a2dfb58a..a990463b8c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -210,7 +210,7 @@ static struct plugin_api rockbox_api = { mpeg_prev, mpeg_ff_rewind, mpeg_next_track, - mpeg_has_changed_track, + playlist_amount, mpeg_status, #ifdef HAVE_LCD_BITMAP font_get, diff --git a/apps/plugin.h b/apps/plugin.h index a11922c889..ec16376b11 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -44,6 +44,7 @@ #include "mp3_playback.h" #include "settings.h" #include "thread.h" +#include "playlist.h" #ifdef PLUGIN #if defined(DEBUG) || defined(SIMULATOR) @@ -239,7 +240,7 @@ struct plugin_api { void (*mpeg_prev)(void); void (*mpeg_ff_rewind)(int newtime); struct mp3entry* (*mpeg_next_track)(void); - bool (*mpeg_has_changed_track)(void); + int (*playlist_amount)(void); int (*mpeg_status)(void); #ifdef HAVE_LCD_BITMAP