Support and General Use > Theming and Appearance Customization

This wps line is not update: am I doing anything wrong?

(1/3) > >>

DervishD:
Hi all :)

I'm using this line to display information about the next song:

%sNext song is %?It%?Ia< by '%Ia'|>

The problem is that the line doesn't update correctly. I mean, if I put a simple "%Ia %Fn %It' before my "problem" line, the information is shown correctly (first a blank line, but the correct info as soon the information is available) in that line but my "problem" line still shows "Next song is loading...".

I think that this may have to do with %s, which doesn't allow "dynamic" content, but I don't consider the next song info as dynamic (at least, I don't interpret it like being dynamic). Am I wrong?

If I am wrong: how can I show the full contents? Some ID3 tags can be pretty long, and without scrolling they cannot be read. I've thought about using ";", but I don't think this will work because I will have to use "%s" anyway and the %?Ia conditional...

BTW, I'm using an iAudio X5V with r14188-070805

Thanks a lot in advance :)
Raúl Núñez de Arenas Coronado

Lear:
Sorry, no scrolling for next file information, as it is considered dynamic. The reason is that the information isn't always available; it might not have been read yet. So when it is read, for the screen update to work properly, it is flagged as dynamic.

Mikerman:
I've had scrolling next album/song information for 2 or so years now; it's part of the Marquee WPS that comes as part of Rockbox.

DervishD:

--- Quote from: Lear on August 09, 2007, 04:06:42 PM ---Sorry, no scrolling for next file information, as it is considered dynamic. The reason is that the information isn't always available; it might not have been read yet. So when it is read, for the screen update to work properly, it is flagged as dynamic.

--- End quote ---

--- Quote from: Mikerman on August 09, 2007, 04:58:05 PM ---I've had scrolling next album/song information for 2 or so years now; it's part of the Marquee WPS that comes as part of Rockbox.

--- End quote ---

This works as long as you use ";". That updates the lines, so the scroll works. I've tried, and it works, but then you have to reckon how much time do you give to each part of the ";" so the scroll can complete at least once. That's a mess.

Well, I can live without this...

Thanks a lot for the information!
Raúl

Mikerman:
Hmm, if that indeed is the limitation, I wonder if it would work just to have alternating lines that are the same; e.g. %s%t5%It;%s%t5%It.  (Or, for that matter, alternating lines where the second line is given no time, e.g. %s%t5%It;%s%t0%It.)

Oftentimes, more than 1 way to skin a cat with a WPS.

Navigation

[0] Message Index

[#] Next page

Go to full version