Welcome to the Rockbox Technical Forums!
%ac%?Ia<%t3%xdn %Ia |%t0.4%xda.Please Wait.>;%ac%?Ia<%t3%xdo %Id |%t0.4%xda..Please Wait..>;%ac%?Ia<%t3%xdp %It |%t0.4%xda...Please Wait...>
I found a "minor" problem. I use my wps on a RTC-modded H140(see http://www.rockbox.org/twiki/bin/view/Main/WpsIriverH100#RemoMartinelli).This line has a problem with the different delay times:Code: [Select]%ac%?Ia<%t3%xdn %Ia |%t0.4%xda.Please Wait.>;%ac%?Ia<%t3%xdo %Id |%t0.4%xda..Please Wait..>;%ac%?Ia<%t3%xdp %It |%t0.4%xda...Please Wait...>With the newest build (13020), the display changes all 0.4 sec., even the next track info is available, but it should change only all 3 seconds.
Salut Nicolas,Using r13027, I've some problems with sublines. I'm using a (slightly) modified darkgeek theme on my Nano and for testing purpose, I 've added a line.If I input A;B;C;D in my wps, ouput is A;B;C;DIf I input %iaA;%itB;%fbC, output is (ID3 artist displayed Ok)A;(ID3 Track Title displayed Ok)B;(File Bitrate displayed Ok)CIf I input %ia;%it;%fb, output is OK.So, it looks like that what it's just before the semi-colon must be a WPS tag to allow sublines working correctly. If it's ordinary text, cycling is broken.Or perhaps I'm completely wrong. Can you test this, please ?A pluche, AiZ
So, if I understand correctly, adding a new WPS tag with the new tokenizer would consist of:Add a new enumeration to wps_token_type in gwps.h.Add whatever entries are appropriate to all_tags in wps_parser.c.Add a case for the new enum to the switch in dump_wps_tokens in wps_debug.c.Add a case for the new enum to the switch in get_tag in gwps-common.c.(Note that this ignores any complications for RTC tags and doesn't address where to actually get the data to support the new tag, e.g. reading a previously unsupported ID3 tag.)Do I have this right? As an experiment, I updated http://www.rockbox.org/tracker/task/4961 to the current SVN and it seems to work fine.
I don't know if you saw my comment on IRC:[15:50] Nico_P: what do you mean by "strictly positive tiemout" ? does this mean %t0 is not possible anymore? This is a very useful feature (even documented with an example on CustomWPS) and should definitely stay.There needs to be a way to turn sublines of conditionally and %t0 is what WPSs are using at the moment.
Page created in 0.297 seconds with 65 queries.