From b444ecfca2218068233a89c278cc86b9e9ef67d7 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 6 Jan 2023 05:37:26 +0100 Subject: plugins: Properties: Add 'Last Modified' for audio files In commit f3358eb, the Properties plugin started using the Track Info screen for audio files, which didn't show when the file was last modified. This adds it back. Change-Id: I3ce519da234a4bcadab1d64b67de0298cada8f6e --- apps/plugin.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index e44511a6f5..ed688eb753 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -157,12 +157,12 @@ 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 259 +#define PLUGIN_API_VERSION 260 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 259 +#define PLUGIN_MIN_API_VERSION 260 /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ @@ -489,7 +489,8 @@ struct plugin_api { void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); bool (*browse_id3)(struct mp3entry *id3, - int playlist_display_index, int playlist_amount); + int playlist_display_index, int playlist_amount, + struct tm *modified); /* talking */ int (*talk_id)(int32_t id, bool enqueue); -- cgit v1.2.3