Support and General Use > Theming and Appearance Customization
Scrolling current title, with conditional dynamic info
shoe:
I know you cant scroll dynamic info on the WPS (FS#7006 and http://forums.rockbox.org/index.php?topic=12055.0), but I want to use a conditional that either scrolls the current song title, or shows (does not scroll) the playback time, depending if there is album art for the song. So here is a simplified version of what I want:
%?C<%s%ac%it|%al%pc>
The problem is that the time does not update (even though it is not supposed to scroll). I tried using sublines to update every second but then when there is cover art the current title does not scroll, since it starts over every second. Does anybody have any clever ideas on this?
(By the way, I am using the Gigabeat F).
MarcGuay:
I'm racking my brain here but can't come up with a solution that doesn't involve conditional viewports.
Edit: Racking, not wracking. As in the medieval torture method.
shoe:
It seems like a lot of work is being done these days on conditional viewports, so I'm guessing (hoping) it will be released soon. I suspect I'll just have to live without scrolling till then.
MarcGuay:
... although the CustomWPS wiki page doesn't really give the impression that your code shouldn't work:
"This tag (%s) can occur anywhere in a line, given that the text is displayed (see conditionals)."
It seems that your experiment concludes that if the %s tag appears anywhere in a line, the dynamic content won't update.
spike66:
Conditional viewports will be great, but in the meantime it can be done using this two lines:
%?C<%s%ac%it|>
%?C<|%al%pc>
Navigation
[0] Message Index
[#] Next page
Go to full version