diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-05-28 00:01:57 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-06-01 11:55:36 -0400 |
commit | 3d7d1d4d5b0289c6357e02be70efe2958ae55e0a (patch) | |
tree | 77da477194a3f068114d615d52e9a36f6c0c98fa /apps/plugin.h | |
parent | ef1e7d88963aa411f06448f10b3b63886c157c9c (diff) | |
download | rockbox-3d7d1d4d5b0289c6357e02be70efe2958ae55e0a.tar.gz rockbox-3d7d1d4d5b0289c6357e02be70efe2958ae55e0a.zip |
plugins: properties: show track info for whole playlist
Track Info can now be displayed for the set of
all tracks contained in a playlist. This lets
you calculate a playlist's length, for example,
even if it is not currently playing.
This functionality can be accessed from the
existing "Properties" screen for a selected
playlist file. A line has been added at the
very bottom to show Track Info.
Change-Id: I311532b7cfa9e29d46c0cd5623ba4c06c1dd5b5f
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index df519f28cf..e9dedf02a1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -975,6 +975,9 @@ struct plugin_api { | |||
975 | int (*playlist_get_first_index)(const struct playlist_info* playlist); | 975 | int (*playlist_get_first_index)(const struct playlist_info* playlist); |
976 | int (*playlist_get_display_index)(void); | 976 | int (*playlist_get_display_index)(void); |
977 | char* (*filetype_get_plugin)(int attr, char *buffer, size_t buffer_len); | 977 | char* (*filetype_get_plugin)(int attr, char *buffer, size_t buffer_len); |
978 | bool (*playlist_entries_iterate)(const char *filename, | ||
979 | struct playlist_insert_context *pl_context, | ||
980 | bool (*action_cb)(const char *file_name)); | ||
978 | }; | 981 | }; |
979 | 982 | ||
980 | /* plugin header */ | 983 | /* plugin header */ |