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
| | |-+  WPS tags don't refresh/update when in If, Else statements
« previous next »
  • Print
Pages: [1]

Author Topic: WPS tags don't refresh/update when in If, Else statements  (Read 1432 times)

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
WPS tags don't refresh/update when in If, Else statements
« on: July 27, 2007, 07:45:09 AM »
On my player the build is 3 days old. Tested it on the simulator with the latest build.

%al%?ia<%s %ia| %d1%ar%pc\%pt >
-- check for Artist tag. If it's there display it otherwise display the current directory & the current time in the song/total track time.

The current time in the song(%pc) doesn't increment. Only when I reload the theme or turn the player off/on does it show the current time but doesn't increment.

Is this a bug or just the way it is? Thank you.
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: WPS tags don't refresh/update when in If, Else statements
« Reply #1 on: July 27, 2007, 07:59:52 AM »
I think the problem here isn't the conditional but that there is a scrolling line tag in the code (which applies to the whole line, I believe). You could try what happens when you remove that '%s' tag from your code.

There already is a bug report for it (http://www.rockbox.org/tracker/task/7006).
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: WPS tags don't refresh/update when in If, Else statements
« Reply #2 on: July 27, 2007, 08:59:38 AM »
Holy crap you're right.
Removed the %s and it works. Kinda screws me though... it's just weird cause I removed it in the If part and it effect tags in the Else part. Alright thank you.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  WPS tags don't refresh/update when in If, Else statements
 

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

Page created in 0.062 seconds with 15 queries.