Playlist Viewer: Add Track Info

Adds a command for showing track info to
the Playlist Viewer's context menu, which
brings up the same screen used by the WPS
for currently playing tracks.

Change-Id: I17d99671935934dad565d290a0d6fb3b0dfd8b01
This commit is contained in:
Christian Soffke 2021-12-28 08:56:16 +01:00 committed by Aidan MacDonald
parent e8b9123205
commit 7dffbd84af
5 changed files with 49 additions and 13 deletions

View file

@ -903,7 +903,9 @@ long gui_wps_show(void)
case ACTION_WPS_ID3SCREEN:
{
gwps_leave_wps();
if (browse_id3())
if (browse_id3(audio_current_track(),
playlist_get_display_index(),
playlist_amount()))
return GO_TO_ROOT;
restore = true;
}