FS#12005 - %?if do not work with %pc or %pt as operands

Attached to Project: Rockbox
Opened by Humberto Santana (hhannah) - Friday, 11 March 2011, 02:52 GMT
Last edited by Jonathan Gordon (jdgordon) - Monday, 28 November 2011, 11:16 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.8
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Example: %?if(%pc, >, 1)<true|false> returns always false

Jd edit: a bit more info.. 99% sure %pc returns a string which is why this isnt working. it should set intval to somerhing usebale (seconds probably) as an interesting extension to %pc we could ask it for play time in seconds, or minutes, or hours even (e.g %pc(m) for minutes or %pc(h) for hours)
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Monday, 28 November 2011, 11:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  r31082