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/playlist.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/playlist.h')
-rw-r--r-- | apps/playlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.h b/apps/playlist.h index 4d814c7523..f7426df9a3 100644 --- a/apps/playlist.h +++ b/apps/playlist.h | |||
@@ -159,6 +159,9 @@ int playlist_insert_directory(struct playlist_info* playlist, | |||
159 | bool recurse); | 159 | bool recurse); |
160 | int playlist_insert_playlist(struct playlist_info* playlist, const char *filename, | 160 | int playlist_insert_playlist(struct playlist_info* playlist, const char *filename, |
161 | int position, bool queue); | 161 | int position, bool queue); |
162 | bool playlist_entries_iterate(const char *filename, | ||
163 | struct playlist_insert_context *pl_context, | ||
164 | bool (*action_cb)(const char *file_name)); | ||
162 | void playlist_skip_entry(struct playlist_info *playlist, int steps); | 165 | void playlist_skip_entry(struct playlist_info *playlist, int steps); |
163 | int playlist_delete(struct playlist_info* playlist, int index); | 166 | int playlist_delete(struct playlist_info* playlist, int index); |
164 | int playlist_move(struct playlist_info* playlist, int index, int new_index); | 167 | int playlist_move(struct playlist_info* playlist, int index, int new_index); |