Skip to content

Commit

Permalink
Version Up
Browse files Browse the repository at this point in the history
tested with Rockbox 3.14 and later dev builds

new pause indicator in fms
new rec indicator in fms
new trackskip indicator in wps

change channels indicator in fms
change crossfade indicator in wps
change lock indicator in sbs
change replaygain indicator in wps
change shuffle indicator in wps

remove dithering indicator in wps
remove mic indicator in fms

detect "force mono" in fms
detect end of song list in wps next track mode
detect recording in fms

fix and improve indicators visualization in wps
fix and update README.md
fix inverted mono<->stereo icons of channels indicator in fms
fix RDS loading text in fms
fix scan text alignment in fms

improve playlist status display timing in wps
improve recognition of radio progress bar in sbs
improve recording timer in fms
strongly improve album title recognition in wps
strongly improve song artist recognition in wps

always show next track info when fast forward
automatically show song title in status bar only when track starts
hide mic indicator in status bar when fms
show radio status in status bar when selecting "FM Radio" in menu
show recording status in status bar when selecting "Recording" in menu
show song title preview in status bar when selecting "Now Playing" in menu

translate mute text of volume bar
various code cosmetics

...and surely (much?) more I forgot to mention :p
  • Loading branch information
vuolter committed May 10, 2017
1 parent 32b8e6e commit 5a96cba
Show file tree
Hide file tree
Showing 17 changed files with 138 additions and 132 deletions.
2 changes: 1 addition & 1 deletion .rockbox/themes/Broadway.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Theme: Broadway
# Author: Walter Purcaro <[email protected]>
# Platform: SanDisk Sansa Clip Zip
# Version: 4.3
# Version: 5.0
# Licence: CC BY-SA 3.0


Expand Down
58 changes: 33 additions & 25 deletions .rockbox/wps/Broadway.fms
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Theme: Broadway
# Author: Walter Purcaro <[email protected]>
# Platform: SanDisk Sansa Clip Zip
# Version: 4.3
# Version: 5.0
# Licence: CC BY-SA 3.0


#### Display onscreen
#### Display on screen

# Show sbs status bar
%we
Expand All @@ -24,49 +24,57 @@

#### Preload images

%xl(M,mic.bmp,0,0,3)
%xl(K,speaker.bmp,0,0,2)
%xl(K,channels.bmp,0,0,2)
%xl(P,pause.bmp)
%xl(R,rec.bmp)


#### Preload screen viewport

# Background fix
%Vl(f,0,0,-,82,-) %VB %Vb(!P000!)

# Recording image
%Vl(f,6,9,12,11,-)
%Vf(!P035!)
%?Rr<%t(.5)%xd(R);%t(.5)>

# Current frequency
%Vl(f,0,0,-,30,2) %Vf(!P022!)
%Vl(f,19,0,58,30,2) %Vf(!P022!)
%?mp<|||||||%Vf(!P022!)|%Vf(!S022!)>
%ac%tf

# Pause image
%Vl(f,78,9,12,11,-)
%Vf(!P036!)
%?mp<||||||||%xd(P)>

# RDS name
%Vl(f,0,30,-,20,3) %Vf(!P023!)
%s%?Rr<
%?Sr<:%Sx(Recording)|%Sx(Recording):>|
%ac%?tt<
%?ty<%ty|%?Tn<%Tn|%(N/D%)>>|
%t(3)%?Sr<
%Sx(Loading...)|
%?if(%ss(0,10,%Sx(Loading...)),=,%Sx(Loading...))<
%Sx(Loading...)|
%ss(0,7,%Sx(Loading...))...>>;%t(.5);>>
%s%ac%?Rr<%Rh:%Rn:%Rs|
%?tt<%?ty<%ty|%?Tn<%Tn|N/D>>|
%t(3)%Sx(Loading...);%t(.5)>>

# RDS text
%Vl(f,0,50,-,16,4) %Vf(!P024!)
%s%ac%?Rr<%Rh:%Rn:%Rs|
%?tx<%?tz<%tz|%t(1)...;%t(.5);%t(.5).;%t(.5)..;>>>
%s%ac%?tz<%tz|
%?Rr<%?ty<%ty|%Sx(Recording)>|
%t(1)...;%t(.5);%t(.5).;%t(.5)..>>

# Scan/preset text
%Vl(f,1,70,38,12,6)
%Vl(f,1,70,39,12,6)
%?tm<%Vf(!S025!)|%Vf(!P025!)>
%?tm<%Sx(Scan)|
%s%aL%?Ti<%Ti|??>/%Tc>
%aL%?tm<%Sx(Scan)|
%s%?Ti<%Ti|??>/%Tc>

# Speaker/Mic image
%Vl(f,42,70,12,10,-)
%?tm<%Vf(!S026!)|%Vf(!P026!)>
%t(4)%xd(K,%ts);%?Rr<%t(4)%xd(M,%Rm,1)|%t(0)>;
# Channels image
%Vl(f,41,70,14,10,-)
%?tm<%Vf(!S026!)|%?Rr<%Vf(!P035!)|%?St(force fm mono)<%Vf(!S026!)|%Vf(!P026!)>>>
%?tm<%t(1)%xd(K,%ts);%?St(force fm mono)<%t(.5)|%t(0)>|
%?Rr<%xd(K,%Rm)|
%t(1)%xd(K,%ts);%?St(force fm mono)<%t(.5)|%t(0)>>>

# Signal strength
%Vl(f,57,70,38,12,6)
%?tm<%Vf(!S026!)|%Vf(!P026!)>
%Vl(f,56,70,-,12,6)
%?tm<%Vf(!S034!)|%Vf(!P034!)>
%aR%?tr<0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|100>%%
86 changes: 42 additions & 44 deletions .rockbox/wps/Broadway.sbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Theme: Broadway
# Author: Walter Purcaro <[email protected]>
# Platform: SanDisk Sansa Clip Zip
# Version: 4.3
# Version: 5.0
# Licence: CC BY-SA 3.0


Expand All @@ -16,12 +16,13 @@
%Vi(time,2,0,92,84,6) %Vf(!P030!) %Vb(!P000!)
%Vi(usb,0,0,-,84,6) %Vf(!P031!) %Vb(!P000!)

#### Display onscreen

#### Display on screen

# Hide inbuilt status bar
%wd

#@NOTE:
# NOTE:
# %?cs<
# 1 Menus |
# 2 WPS |
Expand All @@ -43,8 +44,7 @@
# 18 Bookmark browser |
# 19 Shortcuts menu |
# 20 Track Info screen (NOT WORKING) |
# 21 USB screen
# >
# 21 USB screen >

# Set current screen ui and list viewports (un-grouped)
#%?cs<
Expand Down Expand Up @@ -85,25 +85,25 @@

# Show current screen viewports (un-grouped)
#%?cs<
#%Vd(x)%Vd(p)%?mv<%Vd(v)|%?mp<%Vd(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<%Vd(s)|%?or(%pS(16),%pE(8))<%Vd(t)|%Vd(s)>>>>>>>>
%Vd(x)%Vd(p)%?mv<%Vd(v)|%?mp<%Vd(s)|%?or(%pS(8),%if(%LT,=,%Sx(Now Playing)),%if(%LT,=,%Sx(FM Radio)),%if(%LT,=,%Sx(Recording)))<%Vd(i)|%Vd(s)>>>>>>>>


#### Preload fonts
Expand All @@ -128,7 +128,7 @@
%xl(B,battery.bmp,0,0,6)
%xl(C,charger.bmp,0,0,2)
%xl(L,lock.bmp)
%xl(M,mic.bmp,0,0,3)
%xl(M,mic.bmp)
%xl(P,bar.bmp)


Expand All @@ -155,21 +155,19 @@
# Battery image
%Vl(b,0,0,-,70,-)
%?bl<%Vf(!P033!)|%Vf(!P032!)|%Vf(!P033!)>
%?bc<
%?bl<
%t(.2)%xd(B,1);%t(.1)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6);|
%t(.2)%xd(B,1);%t(.1)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6);|
%t(.2)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6);|
%t(.2)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6);|
%t(.2)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6);|
%t(.2)%xd(B,5);%t(.1)%xd(B,6);|
%?bc<%?bl<%t(.2)%xd(B,1);%t(.1)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6)|
%t(.2)%xd(B,1);%t(.1)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6)|
%t(.2)%xd(B,2);%t(.1)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6)|
%t(.2)%xd(B,3);%t(.1)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6)|
%t(.2)%xd(B,4);%t(.1)%xd(B,5);%t(.1)%xd(B,6)|
%t(.2)%xd(B,5);%t(.1)%xd(B,6)|
%xd(B,6)>|
%xd(B,%bl)>

# Battery text
%Vl(b,0,70,-,12,6)
%?bl<%Vf(!P033!)|%Vf(!P032!)|%Vf(!P033!)>
%?if(%bt,=,?h ?m)<|%ac%bt>
%s%ac%?if(%bt,=,?h ?m)<|%bt>


#### Preload progress bar viewport
Expand All @@ -179,7 +177,7 @@

# Progress bar
%Vl(p,0,82,-,2,-)
%?if(%mp,>,6)<%?Rr<%Vf(!S027!)|%Vf(!P027!)>|%Vf(!P020!)>
%?if(%mp,>,7)<%Vf(!P027!)|%Vf(!P020!)>
%?mp<|%pb(0,0,-,-,P)>


Expand All @@ -192,9 +190,9 @@
# Volume text
%Vl(v,0,86,-,-,6)
%?pv<%Vf(!P007!)|%Vf(!P008!)|%Vf(!P009!)>
%?pv<%aL Mute|
%aL %Sx(Volume) %aR%?pv<0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|100>%% |
%aL %Sx(Gain) %aR%pv dB >
%aL %?pv<%?Sr<%Sx(Off) %Sx(Volume)|%Sx(Volume) %Sx(Off)>|
%Sx(Volume) %aR%?pv<0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|100>%% |
%Sx(Gain) %aR%pv dB >


#### Preload status bar viewport
Expand All @@ -209,34 +207,34 @@
%?or(%bc,%if(%bl,>,20))<%Vf(!P002!)|%Vf(!P003!)>|
%?bp<%Vf(!P004!)|%Vf(!P002!)>>
%?bc<%xd(C,2)|
%?bp<%?bl<%t(.5)%xd(C,2);%t(.4);|%xd(C,2)>|
%?if(%bl,>,5)<%xd(C,1)|%t(.5)%xd(C,1);%t(.4);>>>
%?bp<%?bl<%t(.5)%xd(C,2);%t(.4)|%xd(C,2)>|
%?if(%bl,>,5)<%xd(C,1)|%t(.5)%xd(C,1);%t(.4)>>>

# Battery text
%Vl(s,9,86,33,-,6)
%?bl<%Vf(!P002!)|
%?or(%bc,%if(%bl,>,20))<%Vf(!P002!)|%Vf(!P003!)>|
%?bp<%Vf(!P004!)|%Vf(!P002!)>>
%aL%?bl<N/D|
%?or(%bc,%if(%bl,>,10),%if(%bt,=,?h ?m))<%bl%%|%t(3)%bl%%;%t(2)%bt;>>
%?or(%bc,%if(%bl,>,10),%if(%bt,=,?h ?m))<%bl%%|%t(3)%bl%%;%t(2)%bt>>

# Lock/Mic image
%Vl(s,43,86,12,-,-)
%?if(%mp,=,6)<%Vf(!P005!)|%Vf(!P002!)>
%?mp<%xd(L,%mh)|%xd(L,%mh)|%xd(L,%mh)|%xd(L,%mh)|%xd(L,%mh)|%xd(M,1)|%t(.5)%xd(M,1);%t(.5);|%xd(L,%mh)>
%Vl(s,43,86,9,-,-)
%?and(%Rr,%if(%mp,<,8))<%Vf(!P005!)|%Vf(!P002!)>
%?and(%Rr,%if(%mp,<,8))<%xd(M)|%xd(L,%mh)>

# Time text
%Vl(s,56,86,39,-,6) %Vf(!P002!)
%Vl(s,53,86,42,-,6) %Vf(!P002!)
%aR%?cf<%cH:%cM|%cl:%cM%cp>


#### Preload Song bar viewport
#### Preload info bar viewport

# Background fix
%Vl(t,0,84,-,1,-) %VB %Vb(!P000!)
%Vl(i,0,84,-,1,-) %VB %Vb(!P000!)

# Song bar
%Vl(t,0,85,-,-,6) %Vf(!P010!)
%s%?if(%mp,>,6)<
%?tz<%tz|%?ty<%ty|%?Tn<%Tn|%tf MHz>>>|
%?it<%it|%fn>>
# Info bar
%Vl(i,0,85,-,-,6) %Vf(!P010!)
%s%?if(%LT,=,%Sx(FM Radio))<%?if(%mp,>,7)<%?Sr<%?tz<%tz :>%?ty<%ty >%tf|%tf%?ty< %ty>%?tz<: %tz>>|%aL%Sx(Off)>|
%?if(%LT,=,%Sx(Recording))<%aL%?Rr<%Sx(On)|%Sx(Off)> %aR%Rh:%Rn:%Rs|
%?it<%it|%fn>>>
Loading

0 comments on commit 5a96cba

Please sign in to comment.