This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10898 - playlist viewer WPS widget
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Thursday, 07 January 2010, 08:25 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 13 January 2010, 07:02 GMT+2
Opened by Jonathan Gordon (jdgordon) - Thursday, 07 January 2010, 08:25 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 13 January 2010, 07:02 GMT+2
|
DetailsI dont know if this is going to ever make it into svn, but its going here incase I lose interest...
Attached is a screenshot and the diff... The idea of this patch is to allow the WPS to have a playlist viewer displayed. to do this simply add the token %Vp to any viewport and the entire viewport will be used for the list it will show the the next tracks untill there is no more room. tracks which have already been buffered will be displayed as "playlist number: title time", tracks which havnt been buffered yet will show the filename. I'm hoping to make the text that is displayed be customisable using the skin language (!), also, I wanted to make it so you can choose which track to start the viewer at, so you could display the previous track down, or the current track down... this crashes so its hardcoded to start at the next track. lots of work to do on this still... if anyone wants to take over let me know! |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 13 January 2010, 07:02 GMT+2
Reason for closing: Accepted
Additional comments about closing: in 24220.
Wednesday, 13 January 2010, 07:02 GMT+2
Reason for closing: Accepted
Additional comments about closing: in 24220.
the skin language is now looking like:
%Vp|<offset>|<code to show if id3>|<show me otherwise>|
the offset is how far from the current track to start displaying. 0 is the current track, 1 is the next track, etc
The code in the next two parts is a very limited skin code. NO conditionals, and just about no tags are supported... the following list are supported:
<free text>
%pp - playlist position
%fn - file name
%fp - file path
%ia - artist
%it - track title
%pt - track length
%s - scroll the whole line
add suggestions for which other tags to add support for in the forum thread