diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-10-13 19:30:09 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-10-19 13:32:03 +0200 |
commit | 4cfd7cc77d0cf85ba50f3b4edc1bd7dba2053d65 (patch) | |
tree | 89515ef6c4a43e36a54b39dd5c106d25c161ae12 /apps/screens.h | |
parent | 759aaecdffc3302cf965ade7aef9c2742a9270f3 (diff) | |
download | rockbox-4cfd7cc77d0cf85ba50f3b4edc1bd7dba2053d65.tar.gz rockbox-4cfd7cc77d0cf85ba50f3b4edc1bd7dba2053d65.zip |
Track Info [Playlist] field: Add playlist name
For any selected track that is part of a playlist,
additional info about the list is now provided in
the [Playlist] field of the Track Info screen.
1) Asterisk indicates if playlist has been modified.
2) Playlist filename is visible, unless the current
playlist is *not* associated with a file on disk, in
which case the following will be shown instead:
- (Folder) for unmodified folder playlists.
- (Dynamic) for playlists that are neither associated
with a playlist file, nor with a folder.
Change-Id: I9dcf7cbba4ac2e37b23413180a2b2bf4bbe5ee2a
Diffstat (limited to 'apps/screens.h')
-rw-r--r-- | apps/screens.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screens.h b/apps/screens.h index bcd06655ad..1cfd7dcdcf 100644 --- a/apps/screens.h +++ b/apps/screens.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "config.h" | 24 | #include "config.h" |
25 | #include "timefuncs.h" | 25 | #include "timefuncs.h" |
26 | #include "metadata.h" | 26 | #include "metadata.h" |
27 | #include "playlist.h" | ||
27 | 28 | ||
28 | struct screen; | 29 | struct screen; |
29 | 30 | ||
@@ -41,6 +42,9 @@ bool set_time_screen(const char* title, struct tm *tm, bool set_date); | |||
41 | 42 | ||
42 | bool browse_id3(struct mp3entry *id3, int playlist_display_index, int playlist_amount, | 43 | bool browse_id3(struct mp3entry *id3, int playlist_display_index, int playlist_amount, |
43 | struct tm *modified, int track_ct); | 44 | struct tm *modified, int track_ct); |
45 | bool browse_id3_ex(struct mp3entry *id3, struct playlist_info *playlist, | ||
46 | int playlist_display_index, int playlist_amount, | ||
47 | struct tm *modified, int track_ct); | ||
44 | int view_runtime(void); | 48 | int view_runtime(void); |
45 | 49 | ||
46 | #ifdef HAVE_TOUCHSCREEN | 50 | #ifdef HAVE_TOUCHSCREEN |