Support and General Use > Theming and Appearance Customization

Disc number in WPS?

(1/2) > >>

adam917:
Is there a command for this in the WPS yet? It may be handy to use this in conjunction with the track number.

LambdaCalculus:
Look like they're well ahead of you:

http://www.rockbox.org/twiki/bin/view/Main/MajorChanges

Now to find out how to impliment it.

pixelma:
If I read the in the commit mentioned flyspray entry and the diff correctly, it comes with a wps tag you can use...

"ik" for the current track's disknumber,
"Ik" for the next track's disknumber (as usual).

Though I haven't tried because I don't use a disknumber tag anywhere. If I knew that it works, I would update the CustomWPS wiki page.

adam917:
Can only integers be present in the tag or can text be present as well (and does the DB sort on integer or text?)?

Update: My WPS doesn't seem to work at all (as of version r14172M-070804; default is displayed upon this change). I'm using the following WPS:


--- Code: ---%s%ac%?ia>
%s%ac%?it
%s%ac%?id
%al%pp/%pe %ar%pc/%pt
%s%ac%fc - %fb kbps%?fv< (avg)|> - %ff Hz - %fs kiB
%pb
%pm
--- End code ---

The added part is
--- Quote ---

adam917:
I'm guessing this was ignored because I added a < before the %?ik part, making the whole WPS invalid?

Navigation

[0] Message Index

[#] Next page

Go to full version