Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Problem with %?if() don't recognizing %pp
« previous next »
  • Print
Pages: [1]

Author Topic: Problem with %?if() don't recognizing %pp  (Read 1057 times)

Offline huhugaga

  • Member
  • *
  • Posts: 1
Problem with %?if() don't recognizing %pp
« on: September 26, 2010, 12:39:39 PM »
Hi,
i want to write a precedent zero if the playlist position has only one digit:
Code: [Select]
%?if(%pp, <, 2)<0%pp|%pp>
but it doesn't work. When i play e.g. the first item of a folder, it displays "1" instead of "01".
What am i doing wrong? Is there any other way to solve my problem?

thank you

PS: I'm using Rockbox v2.5 on my Recorder v2 due to known bugs with the charging screen...
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Problem with %?if() don't recognizing %pp
« Reply #1 on: September 26, 2010, 05:28:05 PM »
The %?if tags are a recent addition, they will not work with release 2.5 and not even with the last release version which is 3.6. If you want to use them, you need to update to a current build but I'm not aware of someone having tried them on one of these targets yet. You'll probably need to update the rest of the WPSs too as the syntax has changed since and the parser also got stricter.

Release 2.5 is very old, unfortunately the charging screen bugs seems to not have been fixed by now and current builds come with some small issues (the most severe one to me is the crash on early USB, if you plug USB first and then turn the player on but I can work around that + I use an Ondio which doesn't have charging and so I'm guessing a bit on the charging screen issue).

I'm not sure if I can recommend upgrading to you but if you want to use these tags then you have to.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Problem with %?if() don't recognizing %pp
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.