Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Thecoolgman on June 20, 2009, 12:02:04 AM

Title: [SOLVED]"Current Time In Track" Issue On My WPS
Post by: Thecoolgman on June 20, 2009, 12:02:04 AM
I'm making a Windows Media Player Theme (Rebirth of the infamous j-BlackGlass) and I'm having issues with the current time display. The code is:

Track: %s%pp of %pe - %pc [%pt]

Which displays (eg):

Track: 2 of 8 - 02:32 [3:00]

But the current time doesn't display the current time, it only syncs up about 2 min into the song but just displays that time until another 2 or 3 min later. Why is this?
Title: Re: "Current Time In Track" Issue On My WPS
Post by: pixelma on June 20, 2009, 03:13:04 AM
Remove the %s from your code line.

Rockbox currently has a problem with displaying data that refreshes (and changes) regularly on a scrolling line. There is a bug report in the tracker for it but it's not easy to solve with the current code responsible for scrolling, if I remember correctly.
Title: Re: "Current Time In Track" Issue On My WPS
Post by: Llorean on June 20, 2009, 07:01:45 AM
My understanding was that it's more or less inherent in the way that we do scrolling that the information needs to be static, so it's unlikely that this problem will be fixed anytime soon.
Title: Re: "Current Time In Track" Issue On My WPS
Post by: Thecoolgman on June 20, 2009, 11:55:27 PM
Ok, I had a felling it was scrolling. Thanks for the help. :)