From de8ee6c9e98af821bcf1579ea2edac2a561a2fee Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 2 Jan 2022 13:59:20 +0100 Subject: PictureFlow: Switch between albums from track view Prev/next buttons on iPods or Fiio M3k can now be used to select another album without having to return to the albums view first. Scroll wheel/strip handles scrolling up and down in the track list as before. Other targets probably have the necessary buttons for this, so the keymap can be extended in the future (same goes for alphabetic browsing) Also prevents queue overflow and handles failure case for track list tagcache retrieval. Change-Id: Ic8ff4471e1583d1ab1f7d16911b15705a7f60aca --- apps/plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index d4d86e50bd..8ade3a05ac 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 248 +#define PLUGIN_API_VERSION 249 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -933,6 +933,7 @@ struct plugin_api { const char *filename, int position, bool queue); int (*battery_current)(void); void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); + void (*queue_remove_from_head)(struct event_queue *q, long id); }; /* plugin header */ -- cgit v1.2.3