This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
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, 03:52 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Monday, 28 November 2011, 12:16 GMT+2
Opened by Humberto Santana (hhannah) - Friday, 11 March 2011, 03:52 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Monday, 28 November 2011, 12:16 GMT+2
|
DetailsExample: %?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, 12:16 GMT+2
Reason for closing: Fixed
Additional comments about closing: r31082
Monday, 28 November 2011, 12:16 GMT+2
Reason for closing: Fixed
Additional comments about closing: r31082