Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  modifying GoldscreenO theme for Clip Zip
« previous next »
  • Print
Pages: [1]

Author Topic: modifying GoldscreenO theme for Clip Zip  (Read 1565 times)

Offline cereal_killer

  • Member
  • *
  • Posts: 409
modifying GoldscreenO theme for Clip Zip
« 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
Code: [Select]
# 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
Code: [Select]
%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.

* dump 180109-175600.jpg (6.2 kB, 96x96 - viewed 225 times.)
Logged

Offline Frankenpod

  • Member
  • *
  • Posts: 415
Re: modifying GoldscreenO theme for Clip Zip
« Reply #1 on: January 09, 2018, 12:31:55 PM »
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|---->
Logged

Offline cereal_killer

  • Member
  • *
  • Posts: 409
Re: modifying GoldscreenO theme for Clip Zip
« Reply #2 on: January 10, 2018, 11:19:08 AM »
What you suggested works. The year is correctly shown. Thanks a lot.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  modifying GoldscreenO theme for Clip Zip
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.114 seconds with 22 queries.