1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Christian Soffke 2023-01-06 05:37:26 +01:00
parent 5750eb3181
commit b444ecfca2
7 changed files with 39 additions and 9 deletions

View file

@ -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);