summaryrefslogtreecommitdiff
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-10-13 19:30:09 +0200
committerChristian Soffke <christian.soffke@gmail.com>2023-10-19 13:32:03 +0200
commit4cfd7cc77d0cf85ba50f3b4edc1bd7dba2053d65 (patch)
tree89515ef6c4a43e36a54b39dd5c106d25c161ae12 /apps/playlist_viewer.c
parent759aaecdffc3302cf965ade7aef9c2742a9270f3 (diff)
downloadrockbox-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/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index d780bfb7e9..8219aa5feb 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -523,7 +523,7 @@ static enum pv_onplay_result show_track_info(const struct playlist_entry *curren
523 } 523 }
524 524
525 return id3_retrieval_successful && 525 return id3_retrieval_successful &&
526 browse_id3(&id3, current_track->index + 1, 526 browse_id3_ex(&id3, viewer.playlist, current_track->index + 1,
527 viewer.num_tracks, NULL, 1) ? PV_ONPLAY_USB : PV_ONPLAY_UNCHANGED; 527 viewer.num_tracks, NULL, 1) ? PV_ONPLAY_USB : PV_ONPLAY_UNCHANGED;
528} 528}
529 529