Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Release 3.8
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

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, 12:16 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  r31082

Loading...