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
| | |-+  Sansa Clip Zip EKARAN Theme
« previous next »
  • Print
Pages: [1] 2

Author Topic: Sansa Clip Zip EKARAN Theme  (Read 5968 times)

Offline Lacres

  • Member
  • *
  • Posts: 22
Sansa Clip Zip EKARAN Theme
« on: January 26, 2013, 05:51:12 PM »
Thanks you for the wonderful Ekaran theme. One question: There's always shown the word "Artist" instead of the real artist (like Abba, Bee Gees etc.) Track, album is all right and works fine???  :'(
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #1 on: January 27, 2013, 12:26:12 PM »
Hi, I'm the designer of that theme, I'm glad you liked it.
The theme uses Album Artist field for that, if that field is blank, it shows the word "Artist", but I made a mistake here. It should check for Artist field too and it doesn't. I didn't realize it first because all my songs have proper and complete tags.
And I couldn't correct my mistake because the theme section doesn't have an "Update" feature.
So you have to correct it manually, change the line 34 in "Ekaran.wps" from this:

%al%s%?iA<%iA|Artist>

to this:

%al%s%?iA<%iA|%?ia<%ia|Artist>>
Logged

Offline Lacres

  • Member
  • *
  • Posts: 22
Re: Sansa Clip Zip EKARAN Theme
« Reply #2 on: January 27, 2013, 12:41:12 PM »
Thank you very much. This solved the problem. Thanks.
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #3 on: January 27, 2013, 12:56:30 PM »
Turns out the themes section does have a hidden update feature.
I corrected it on both WPS and lockscreen, Grab the new one.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Sansa Clip Zip EKARAN Theme
« Reply #4 on: January 27, 2013, 07:47:02 PM »
If the theme name, target, real name, and email address are the same as the original upload you should receive an email asking you if you would like to replace the current version.

Apparently this function of the themesite is non-obvious, and, it shouldn't be. I don't have access to make the required changes, but I have expressed my opinion that the theme upload page should mention this explicitly. When someone gets the time to do so, this change will be made. I apologise if this caused you or others any confusion.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Roboturner913

  • Member
  • *
  • Posts: 30
Re: Sansa Clip Zip EKARAN Theme
« Reply #5 on: January 27, 2013, 09:14:41 PM »
That is a cool theme and I've also been enjoying it.
Logged

Offline xylon

  • Member
  • *
  • Posts: 3
Re: Sansa Clip Zip EKARAN Theme
« Reply #6 on: January 28, 2013, 10:01:47 AM »
Very nice and clean theme! Great!

Any plans to make a colored version to show off our full color oled screen?

So just the text in different colores... background stays black... and maybe not this ugly blue and orange from the Clip+ ;)
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #7 on: January 28, 2013, 11:27:57 AM »
@xylon
Tried that and didn't look good (in my opinion), I'm just gonna do black in white version.
Although you can easily achieve what you want with %Vf tag.
E.g. if you want to have a red album title add "%Vf(ff0000)" like this:

# album artist
%Vl(p,0,30,-,20,3) %Vf(ff0000)
%al%s%?iA<%iA|%?ia<%ia|Artist>>

The oled screen is already doing us a great service by providing a good and deep black.
Logged

Offline xylon

  • Member
  • *
  • Posts: 3
Re: Sansa Clip Zip EKARAN Theme
« Reply #8 on: January 28, 2013, 05:37:40 PM »
Quote from: Sahand_N on January 28, 2013, 11:27:57 AM
@xylon
Tried that and didn't look good (in my opinion), I'm just gonna do black in white version.
Although you can easily achieve what you want with %Vf tag.
E.g. if you want to have a red album title add "%Vf(ff0000)" like this:

# album artist
%Vl(p,0,30,-,20,3) %Vf(ff0000)
%al%s%?iA<%iA|%?ia<%ia|Artist>>

The oled screen is already doing us a great service by providing a good and deep black.

Yeah! Tried some stuff with minor color changes.... default has some blue.... playback has some red... radio has some orange.
Any ideas how to change the status bar background for default, playback, radio separately?

# Theme                  Ekaran
# Author               Sahand Khan (sahand_nasr@yahoo.com)
# Platform               Sansa Clip Zip (96x96)
# Version               1.0.1
# Last Updated               January 2013
# License               CC-BY-SA 3.0

sbs:            /.rockbox/wps/Ekaran.sbs
wps:                          /.rockbox/wps/Ekaran.wps
fms:                          /.rockbox/wps/Ekaran.fms
font:                         /.rockbox/fonts/14-Sansation_Regular.fnt
iconset:                      
viewers iconset:              
backdrop:                     /.rockbox/backdrops/Ekaran.bmp
foreground color:             ffffff
background color:             000000
selector type:                bar (color)
line selector text color:    000000
line selector start color:    00ABA9
line selector end color:   00ABA9
statusbar:                    off
scrollbar: off
show icons: off


# Theme                  Ekaran
# Author               Sahand Khan (sahand_nasr@yahoo.com)
# Platform               Sansa Clip Zip (96x96)
# Version               1.0.1
# Last Updated                January 2013
# License               CC-BY-SA 3.0

# Enable default status bar
%we

# Preload images
%xl(p,progBarO.bmp,0,0)

# Preload fonts
%Fl(2,30-Sansation_Light.fnt)
%Fl(3,20-Sansation_Bold.fnt)
%Fl(4,16-Sansation_Light.fnt)
%Fl(5,12-Sansation_Bold.fnt)

# Current frequency
%V(0,0,-,30,2) %Vf(ffffff)
%ac%tf

# RDS data
%V(0,30,-,20,3) %Vf(F09609)
%s%ac%?tt<%?ty<%ty|%?tm<|%Tn>>|Searching...>

# RDS text
%V(0,50,-,16,4) %Vf(F09609)
%ac%s%?tz<%tz|>

# Scan/Preset | Channel | Stereo/Mono
%V(2,70,92,12,5) %Vf(FFFFFF)
%al%?tm<SCAN|PRESET>%ar%?tm<|%Ti/%Tc>

# progress bar
%V(0,84,-,2,-)
%pb(0,0,96,2,p)

# status bar
%V(2,86,92,10,5) %Vf(FFFFFF)
%al%?mv<%pv db|%bl%%>%ar%cH:%cM


# Theme                  Ekaran
# Author               Sahand Khan (sahand_nasr@yahoo.com)
# Platform               Sansa Clip Zip (96x96)
# Version               1.0.1
# Last Updated                January 2013
# License               CC-BY-SA 3.0

# Disable default status bar
%wd

# Preload fonts
%Fl(2,12-Sansation_Bold.fnt)

# Preload images

# UI viewport
%Vi(-,2,0,92,86,-) %Vf(ffffff)
%LB

# disables status bar in wps and fms
%?or(%if(%cs, =, 2),%if(%cs, =, 4))<|%Vd(s)>

# status bar
%Vl(s,2,86,92,10,2) %Vf(000000)
%al%?mv<%pv db|%bl%%>%ar%cH:%cM

# Theme                  Ekaran
# Author               Sahand Khan (sahand_nasr@yahoo.com)
# Platform               Sansa Clip Zip (96x96)
# Version               1.0.1
# Last Updated                January 2013
# License               CC-BY-SA 3.0

# Enable default status bar
%we

# Preload images
%xl(p,progBar.bmp,0,0)
%xl(l,lock.bmp,0,0)
%xl(r,repeat.bmp,0,0)
%xl(s,shuffle.bmp,0,0)

# Preload fonts
%Fl(2,30-Sansation_Light.fnt)
%Fl(3,20-Sansation_Bold.fnt)
%Fl(4,16-Sansation_Light.fnt)
%Fl(5,12-Sansation_Bold.fnt)

# selects wps based on lock status
%?mh<%Vd(l)|%Vd(p)>

########## buttons unlocked ##########

# song title
%Vl(p,0,0,-,30,2)
%al%s%?it<%it| %fn>

# album artist
%Vl(p,0,30,-,20,3) %Vf(ff0000)
%al%s%?iA<%iA|%?ia<%ia|Artist>>

# album title
%Vl(p,0,50,-,16,4)
%al%s%?id<%id|Album>

# playlist status
%Vl(p,2,70,68,12,5)
%al%pp/%pe

# repeat symbol
%Vl(p,85,71,10,10,5)
%?mm<|%xd(r)|%xd(r)|%xd(r)%xd(r)>

# shuffle symbol
%Vl(p,75,71,10,10,5)
%?ps<%xd(s)|>

# status bar
%Vl(p,2,86,92,10,5) %Vf(000000)
%al%?mv<%pv db|%bl%%>%ar%cH:%cM


########### buttons locked ###########

# time
%Vl(l,0,0,-,30,2) %Vf(ffffff)
%al%cH:%cM

# date
%Vl(l,60,3,36,20,5) %Vf(ffffff)
%ar%ca
%ar%cb %cd

# album artist
%Vl(l,0,30,-,20,3)
%al%s%?iA<%iA|%?ia<%ia|Artist>>

# song title
%Vl(l,0,50,-,30,2) %Vf(ffffff)
%al%s%it

# status bar
%Vl(l,0,86,-,10,5) %Vf(000000)
%al %bl%%

# lock symbol
%Vl(l,88,86,7,10,-)
%xd(l)

######################################

# progress bar (permanent)
%V(0,84,-,2,-)
%?if(%mp , =, 3)<%t(.5)%pb(0,0,96,2,p);%t(.5)|%pb(0,0,96,2,p)>
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #9 on: January 29, 2013, 03:16:42 AM »
Quote
Any ideas how to change the status bar background for default, playback, radio separately?
Status bar is part of background, or backdrop in rockboxish language.
You can set a different backdrop for WPS using %X tag.
Logged

Offline xylon

  • Member
  • *
  • Posts: 3
Re: Sansa Clip Zip EKARAN Theme
« Reply #10 on: January 29, 2013, 05:44:39 AM »
Quote from: Sahand_N on January 29, 2013, 03:16:42 AM
Quote
Any ideas how to change the status bar background for default, playback, radio separately?
Status bar is part of background, or backdrop in rockboxish language.
You can set a different backdrop for WPS using %X tag.

So the backdrop can be changed for every screen type separately (base, playback, fm)?
Just tried it with %x(/.rockbox/backdrops/EkaranCy.bmp, 0, 0) in the last row of sbs. Nothing changed...
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #11 on: January 29, 2013, 06:52:10 AM »
Quote from: xylon on January 29, 2013, 05:44:39 AM
Quote from: Sahand_N on January 29, 2013, 03:16:42 AM
Quote
Any ideas how to change the status bar background for default, playback, radio separately?
Status bar is part of background, or backdrop in rockboxish language.
You can set a different backdrop for WPS using %X tag.

So the backdrop can be changed for every screen type separately (base, playback, fm)?
Just tried it with %x(/.rockbox/backdrops/EkaranCy.bmp, 0, 0) in the last row of sbs. Nothing changed...
Put the image you want into theme's folder (/.rockbox/Ekaran) not /.rockbox/backdrops/, and the code should be:
%X(EkaranCy.bmp)
Capital X and no zeroes.
Also you can set any viewport to replace the backdrop using %VB tag, let's say you want to have a file named "fms.bmp"to be your backdrop for FM screen, and you pre-loaded this file with the identifier "z" and used it in a viewport with "y" as it's identifier; that would be:
.
.
.
%xl(z,fms.bmp,0,0)
.
.
.
%Vd(y)
.
.
.
%Vl(y,0,0,-,-,-)
%xd(z)
%VB
.
.
.

But there's a little bug (or glitch, whatever) with scrolling texts, as soon as the text starts scrolling, it's background changes to the main backdrop, no matter what.
« Last Edit: January 29, 2013, 06:57:49 AM by Sahand_N »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Sansa Clip Zip EKARAN Theme
« Reply #12 on: January 29, 2013, 07:35:52 PM »
I actually thought I commented on this thread, and I think I was going to...but I face-planted into the keyboard last night (I was a sleepy boy) and when I woke up I just closed all my tabs and probably wiped out the tab before pressing send.

In my opinion, using a backdrop for changing only the status bar is incredibly wasteful. Especially if the backdrop is a solid color (I haven't actually looked). Solid colors can be drawn with the background color viewport parameter (we can actually draw basic bi-color gradients as well), and the status bar could be drawn in a separate viewport and sent to the backdrop buffer. This is slightly more complicated, but a lot cleaner and uses less resources.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Lacres

  • Member
  • *
  • Posts: 22
Re: Sansa Clip Zip EKARAN Theme
« Reply #13 on: May 04, 2013, 01:28:29 PM »
Hallo. Is it posible to show the time of the track and when paused the track number of the playlist? Thanks in advance.
Logged

Offline Sahand_N

  • Member
  • *
  • Posts: 6
Re: Sansa Clip Zip EKARAN Theme
« Reply #14 on: May 05, 2013, 12:07:55 PM »
Quote from: Lacres on May 04, 2013, 01:28:29 PM
Hallo. Is it posible to show the time of the track and when paused the track number of the playlist? Thanks in advance.
Sure, in Ekaran.WPS edit this line:
# playlist status
%Vl(p,2,70,68,12,5) %?or(%if(%mp, =, 3), %if(%mp, =, 4), %if(%mp, =, 5))<%Vf(ff0000)|%Vf(ffffff)>
%al%?or(%if(%mp, =, 3), %if(%mp, =, 4), %if(%mp, =, 5))<%?if(%mp, =, 3)<%t(.5)%pc/%pt;%t(.5);|%pc/%pt>|%pp/%pe>
to whatever you want using this guide:
http://download.rockbox.org/daily/manual/rockbox-sansaclipzip/rockbox-buildap4.html#x20-383000D.16
%mp represents playback status.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Sansa Clip Zip EKARAN Theme
 

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

Page created in 0.095 seconds with 15 queries.