diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-01-06 05:37:26 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-01-06 19:00:24 +0100 |
commit | b444ecfca2218068233a89c278cc86b9e9ef67d7 (patch) | |
tree | b23a87b42e30cb73d31489420135ddd1611b862f /apps/plugin.h | |
parent | 5750eb3181de4923a8d3141066f4631df3b7d70c (diff) | |
download | rockbox-b444ecfca2218068233a89c278cc86b9e9ef67d7.tar.gz rockbox-b444ecfca2218068233a89c278cc86b9e9ef67d7.zip |
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 4 insertions, 3 deletions
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); | |||
157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
158 | 158 | ||
159 | /* increase this every time the api struct changes */ | 159 | /* increase this every time the api struct changes */ |
160 | #define PLUGIN_API_VERSION 259 | 160 | #define PLUGIN_API_VERSION 260 |
161 | 161 | ||
162 | /* update this to latest version if a change to the api struct breaks | 162 | /* update this to latest version if a change to the api struct breaks |
163 | backwards compatibility (and please take the opportunity to sort in any | 163 | backwards compatibility (and please take the opportunity to sort in any |
164 | new function which are "waiting" at the end of the function table) */ | 164 | new function which are "waiting" at the end of the function table) */ |
165 | #define PLUGIN_MIN_API_VERSION 259 | 165 | #define PLUGIN_MIN_API_VERSION 260 |
166 | 166 | ||
167 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ | 167 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ |
168 | 168 | ||
@@ -489,7 +489,8 @@ struct plugin_api { | |||
489 | 489 | ||
490 | void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); | 490 | void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); |
491 | bool (*browse_id3)(struct mp3entry *id3, | 491 | bool (*browse_id3)(struct mp3entry *id3, |
492 | int playlist_display_index, int playlist_amount); | 492 | int playlist_display_index, int playlist_amount, |
493 | struct tm *modified); | ||
493 | 494 | ||
494 | /* talking */ | 495 | /* talking */ |
495 | int (*talk_id)(int32_t id, bool enqueue); | 496 | int (*talk_id)(int32_t id, bool enqueue); |