From a513cee8222006d5f970b4495ae7d1f1b6facf9b Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Wed, 25 May 2022 20:11:29 +0200 Subject: PictureFlow: Add 'Track Info' for tracks or whole albums Context menu gains new option to view metadata for individual tracks or albums. Will display an album's length and total file size. Other fields are displayed only if they are identical across all tracks (except for the album year, which is determined by the highest value encountered). Change-Id: Ibc14cfaf2cb3d91b8d1cfbee05c6261db4975355 --- apps/plugin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index ed688eb753..768fc0ff27 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -157,7 +157,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 260 +#define PLUGIN_API_VERSION 261 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -945,6 +945,9 @@ struct plugin_api { #endif /* new stuff at the end, sort into place next time the API gets incompatible */ + + void (*splash_progress)(int current, int total, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4); + void (*splash_progress_set_delay)(long delay_ticks); }; /* plugin header */ -- cgit v1.2.3