Rockbox

Tasklist

FS#8965 - WPS tag for showing skip length

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Monday, 05 May 2008, 19:46 GMT
Last edited by Alexander Levin (fml2) - Monday, 22 June 2009, 20:48 GMT
Task Type Patches
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Introduce a new WPS tag (%ms) which indicates whether te study mode is activated.
This task depends upon

Closed by  Alexander Levin (fml2)
Monday, 22 June 2009, 20:48 GMT
Reason for closing:  Rejected
Additional comments about closing:  This became unnecessary after r19357 (generic setting tag) has been committed.
Comment by Marc Guay (Marc_Guay) - Monday, 05 May 2008, 19:49 GMT
Reminder: If/when this is committed add a note to the CustomWPS wiki page.
Comment by Stephane Doyon (sdoyon) - Monday, 05 May 2008, 23:29 GMT
Thanks for doing this.
Comment by Alexander Levin (fml2) - Friday, 18 July 2008, 20:22 GMT
Here is an update: %ms, if used 'naked', now displays the skip length in minutes or zero if it's set to 'track.' It can also be used in a conditional. The first branch is for 'track', the other are for the appropriate number of minutes.

Example:
%ms

-- or

%?ms<Track|%ms>

-- or

%?ms<Track|One|Two|Three|Four|Five|Six (etc) >

I've also fixed the issue that the string value produced by the naked option was 1-based instead of 0-based (as described in the manual/wiki) -- also for some other tags. Sorry for not providing a separate patch.

Feedback is welcome.
Comment by Alexander Levin (fml2) - Friday, 18 July 2008, 20:30 GMT
Now with the correct patch (thanks to PaulJam :-)

Loading...