Rockbox Technical Forums
Support and General Use => Theming and Appearance Customization => Topic started by: cereal_killer on January 09, 2018, 12:00:55 PM
-
I like the GoldscreenO theme for the clip Zip a lot and want to modify it slightly to reduce the information that is shown. Basically I want to remove the alternating information and just have it shown steadily, which I achieved for the shuffle and repeat icons, but I can't make the year being always shown (see screenshot).
I found the relevant part in GoldscreenO.wps
# year or track number and number of disk (number of disk from directory if not content of tag)
%Vl(t,26,68,42,16,2)%Vf(FFFFFF)%Vb(000000)
%ac%?iy<%?if(%in, ==, "<Untagged>")<%?if(%ik, ==, "<Untagged>")<%?if(%ss(0,2,%d(1)), !=, CD)<%?if(%ss(0,2,%d(1)), !=, cd)<%iy>>>>%t(2)%iy;%t(2)%?ik<%ik%?in<|/>|%?if(%ss(0,2,%d(1)), =, CD)<%ss(2,3,%d(1))%?in<|/>|%?if(%ss(0,2,%d(1)), =, cd)<%ss(2,3,%d(1))%?in<|/>>>>%?in</%in>|%?ik<%ik%?in<|/>|%?if(%ss(0,2,%d(1)), =, CD)<%ss(2,3,%d(1))%?in<|/>|%?if(%ss(0,2,%d(1)), =, cd)<%ss(2,3,%d(1))%?in<|/>>>>%?in</%in>>
but when commenting this part out and just put
%Vl(t,26,68,42,16,2)%Vf(FFFFFF)%Vb(000000)%ac%iy
nothing is shown. What should the correct code be?
I appreciate any help.
-
Can't see what is wrong with that.
Does the track you are testing it with definitely have the year field set to a value?
What happens if you check for missing data and use:
%Vl(t,26,68,42,16,2)%Vf(FFFFFF)%Vb(000000)
%ac%?iy<%iy|---->
-
What you suggested works. The year is correctly shown. Thanks a lot.