Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Buzkill on September 15, 2021, 09:18:21 PM

Title: Customize Playlist View
Post by: Buzkill on September 15, 2021, 09:18:21 PM
Curious if anyone could point me in the right direction as to which of the many "playlist" files in the rockbox source I need to mess with to change the way current playlist is displayed when you navigate to "View Current Playlist" from the WPS screen.

Currently (when set to only display track info) it lists the playlist track number and track title.
ie.         1. Track1
             2. Track2
             3. Track3
             ...
And I'd like to change it to display the artist as well after the title.
ie.         1. Track1 - Artist1
             2. Track2 - Artist2
             3. Track3 - Artist3
             ...

Any chance this is possible with some code changes or is there something preventing this?

THANKYOU
Title: Re: Customize Playlist View
Post by: Buzkill on September 15, 2021, 09:28:22 PM
Looks like the answer is no. It displays the filename NOT the "title" tag. Bummer
Title: Re: Customize Playlist View
Post by: Frankenpod on September 17, 2021, 04:45:42 AM
It might be possible to write a custom wps that shows the current playlist that way.

You could modify this one, for example, to show the artist after the track title.

https://themes.rockbox.org/index.php?themeid=2679&target=ipod6g

Change
# show playlist after current track
%Vl(z,32,102,146,48,3)%Vf(10eeff)
%Vp(1, %?it<%it|%fn>)
# show playlist before current track
%Vl(y,32,18,146,25,3)%Vf(10eeff)
%Vp(-2, %?it<%it|%fn>)

to something like
# show playlist after current track
%Vl(z,32,102,146,48,3)%Vf(10eeff)
%Vp(1, %?it<%it|%fn> %ia)
# show playlist before current track
%Vl(y,32,18,146,25,3)%Vf(10eeff)
%Vp(-2, %?it<%it|%fn> %ia)

Would need more work to make it format nicely, and still more if you wanted to show the entire current playlist rather than just the next 4 tracks