This image is the top of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.
Go Back   MisticRiver :: For iriver Enthusiasts > All things Rockbox > ROCKbox Forums > ROCKbox for H3xx Series
Home Forums Register FAQ Search Today's Posts Mark Forums Read


Welcome to the misticriver forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags: , ,

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 20th, 2007, 10:08 AM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
Clock for WPS Clean Dark mf-lf

I want to add a clock at right side of the plaly list position in the wps "Clean Dark mf-lf (Multi-Font, Large Fonts) No Album Art" with the biggest font.
after:


Before:

I don't know how to add them, somebody can help me?

THANKS!!!!

Last edited by djdiegolirussi : March 20th, 2007 at 10:27 AM. Reason: add pictures
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old March 20th, 2007, 03:30 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
I could be wrong, but I don't believe that there is a tag for the time. The only place it appears is in the status bar, which is disabled in this .wps.

If someone makes a patch to include the time as a tag, it could be done easily enough.

Sorry for the bad news,

m a r
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old March 20th, 2007, 03:34 PM
BiGRED84's Avatar
< I Love Tabitha Quinn!!!!
 
Join Date: Mar 2006
Location: Wallkill, Newyork
Posts: 472
Send a message via AIM to BiGRED84
the tag for time is %c k:M:Sc for 24 hr format, you can find the wps codes on rockbox.org hope that helps
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old March 20th, 2007, 03:37 PM
Mistic Bone Player
 
Join Date: Nov 2005
Location: Old Europe
Posts: 65
Send a message via ICQ to JazzBone
Sorry rogue_ronin, you are wrong, there are tags for the time. You can find them here.
No patching needed!
I just don't know how to make the clock appear the size djdiegolirussi wants it in.

EDIT:
Quote:
Originally Posted by BiGRED84 View Post
the tag for time is %c k:M:Sc for 24 hr format
%c H:M:Sc, you mean?
__________________
Those are my principles, and if you don't like them... well, I have others.
(Groucho Marx)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old March 20th, 2007, 03:44 PM
BiGRED84's Avatar
< I Love Tabitha Quinn!!!!
 
Join Date: Mar 2006
Location: Wallkill, Newyork
Posts: 472
Send a message via AIM to BiGRED84
well H:M:Sc would be for 12 hour time, yes, the code i gave is for the 24 hour format, i assumed thats what the OP wanted because the clock in his second picture was in 24 hr format. but yes your right that tag you gave would also be for time
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old March 20th, 2007, 04:00 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
Hey thanks guys!

I must have an outdated list. And I always have trouble with wikis, they don't suit my cognitive style, I guess.

@djdiegolirussi: I'll make what you wanted and post it here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old March 20th, 2007, 04:26 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
So, if you didn't know, when you put the hold switch on, you get the time and date displayed in Clean mf-lf. Not what you wanted, though.

And, while you can't see it in your pic, the playlist name gets displayed in the middle, next to the track count, and runs through the space you want to use

So in this version, I've disabled the display of the playlist name (which would sit right on the clock) and the time/date display when the hold switch is activated has also been disabled.

Now it displays track count and time, no changes with the hold switch at all.

Code:
# ==============================================================================
# A ROCKbox theme for iRiver H300
# Made by Peter Akers. akersp@ozemail.com.au
# Requires at least ROCKbox H300 with Multifont Patch, Scroll Margins, Album Art
# ==============================================================================
# Released to the Public Domain
# Distribute and modify as you see fit.
#
#status bar off
%wd
#
#Background
%X|bg.bmp|
#
%P|statusbar.bmp|
#
%xl|d|stop.bmp|0|0|
%xl|e|play.bmp|0|0|
%xl|f|pause.bmp|0|0|
%xl|F|pause_inverse.bmp|0|0|
%xl|g|forward.bmp|0|0|
%xl|h|backward.bmp|0|0|
#
%xl|i|volume0.bmp|23|0|
%xl|j|volume1.bmp|23|0|
%xl|k|volume2.bmp|23|0|
%xl|l|volume3.bmp|23|0|
%xl|m|volume4.bmp|23|0|
%xl|n|volume5.bmp|23|0|
%xl|V|volume6.bmp|23|0|
%xl|W|volume7.bmp|23|0|
%xl|X|volume8.bmp|23|0|
%xl|Y|volume9.bmp|23|0|
%xl|Z|volume10.bmp|23|0|
#
%xl|o|bat0.bmp|196|0|
%xl|G|bat0_inverse.bmp|196|0|
%xl|p|bat1.bmp|196|0|
%xl|q|bat2.bmp|196|0|
%xl|r|bat3.bmp|196|0|
%xl|s|bat4.bmp|196|0|
%xl|t|batP.bmp|196|0|
%xl|L|batP_full.bmp|196|0|
#
%xl|u|holdP.bmp|156|0|
%xl|v|holdR.bmp|156|0|
%xl|w|holdB.bmp|156|0|
%xl|x|holdN.bmp|156|0|
#
%xl|P|repeat-on1.bmp|91|0|
%xl|Q|repeat-on2.bmp|91|0|
%xl|a|repeat-on3.bmp|91|0|
%xl|b|repeat-on4.bmp|91|0|
%xl|R|repeat-off.bmp|91|0|
#
%xl|I|disk_off.bmp|165|0|
%xl|J|disk_on1.bmp|165|0|
%xl|K|disk_on2.bmp|165|0|
%xl|M|disk_on3.bmp|165|0|
%xl|N|disk_on4.bmp|165|0|
#
%xl|y|eq_on.bmp|71|0|
#
%xl|O|crossfade_on.bmp|138|0|
%xl|z|crossfade_off.bmp|138|0|
%xl|S|crossfade_skip.bmp|138|0|
#
#Album
%e|10|24|205|3|e5f2de|%s%?id<%id|>
%e|10|26|205|4|e5f2de|%s%?id<|(No Album) '\%d1'>
#
#Artist
%e|10|43|205|3|FFFFFF|%s%?ia<%ia|>
%e|10|45|205|4|FFFFFF|%s%?ia<|(No Artist) '\%d2'>
#
#Track
%e|10|62|205|1|FFFFFF|%s%?it<%it|'%fm'>
#
#Track Position
%t0.6%e|4|102|40|4|FFFFFF|%?mp< |%al%pc| |%al%pc|%al%pc>;%t0.6%e|4|102|40|4|FFFFFF|%al%pc
#
#Track Length
%e|90|102|40|4|FFFFFF|%ac%pt
#
#Time Left
%t0.6%e|176|102|40|4|FFFFFF|%?mp< |%ar%pr| |%ar%pr|%ar%pr>;%t0.6%e|176|102|40|4|FFFFFF|%ar%pr
#
#track/of
#switch comment tags on next two lines to re-enable hiding
#track count when hold switch is on
#%e|4|138|56|4|c0c0c0|%?mh< |%pp of %pe>
%e|4|138|56|4|c0c0c0|%pp of %pe
#
#Clock
%e|124|134|100|1|FFFFFF|%c k:M:Sc
#
#Playlist
#remove comment line to restore playlist name display
#%e|60|136|155|3|c0c0c0|%?mh< |%?pn<%pn|>>
#
#Progress Bar
%pb|6|4|211|92|
#
#Next Artist / Next Song
%t3%e|14|162|205|4|c0c0c0|%s%?Ia<%Ia|%?It<%It|%Fm>>;%t10%e|14|162|205|4|c0c0c0|%s%?It<%It|%Fm>
#
#Volume icon
%?pv<%xdi|%xdj|%xdk|%xdl|%xdm|%xdn|%xdV|%xdW|%xdX|%xdY|%xdZ>
#volume text
%e|25|1|13|5|c0c0c0|%ar%pv
#
#hold
#         both plyr       rem  none
%?mh<%?mr<%xdw|%xdu>|%?mr<%xdv|%xdx>>
#
#repeat
#                               off   all    one    shuf   a-b
%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdPall|%xdP1|%xdPsh|%xdPab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdQall|%xdQ1|%xdQsh|%xdQab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdaall|%xda1|%xdash|%xdaab>;%t0.4%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdball|%xdb1|%xdbsh|%xdbab>;%t7%e|104|5|10|5|FFFFFF|%?mm<%xdR|%xdPall|%xdP1|%xdPsh|%xdPab>
%e|104|5|10|5|3f3f3f|%?mm<all||||>
#
#shuffle
%t0.9%e|118|6|5|5|ffff80|%?ps<1 |>;%t0.9%e|118|6|5|5|FFFFFF|%?ps<3 |>;%t0.9%e|118|6|5|5|FFFFFF|%?ps<2 |>;%t5%e|118|6|5|5|FFFFFF|%?ps<1 |>
%t0.9%e|123|1|5|5|FFFFFF|%?ps<3 |>;%t0.9%e|123|1|5|5|FFFFFF|%?ps<2 |>;%t0.9%e|123|1|5|5|ffff80|%?ps<1 |>;%t5%e|123|1|5|5|FFFFFF|%?ps<3 |>
%t0.9%e|129|4|5|5|FFFFFF|%?ps<2 |>;%t0.9%e|129|4|5|5|ffff80|%?ps<1 |>;%t0.9%e|129|4|5|5|FFFFFF|%?ps<3 |>;%t5%e|129|4|5|5|FFFFFF|%?ps<2 |>
%e|118|6|5|5|3f3f3f|%?ps<|1 >
%e|123|1|5|5|3f3f3f|%?ps<|3 >
%e|129|4|5|5|3f3f3f|%?ps<|2 >
#
#equaliser
%?eq<%xdy|>
#
# crossfade
#  off shf        skip shf&sk      all
%?xf<|%?ps<%xdO|>|%xdS|%xdS|%xdO>
#
# Codec | File Bitrate | Frequency
%e|4|117|211|5|808080|%ac%?fc<mp1|mp2|mp3|aiff|wav|ogg|flac|mpc|a52|wv|alac|aac|shn|sid|adx|unk>  .  %fb kbps%?fv< vbr>  .  %ff hz
#
# time
#remove comment line below to restore time/date on hold switch
#%e|4|136|211|3|ffff80|%ac%?mh<%ca   b ec   %cl:M Pc|>
#
#Play
%t0.6 %?mp<%xdd|%xde|%xdf|%xdg|%xdh>;%t0.6 %?mp<%xdd|%xde|%xdF|%xdg|%xdh>
#
# Power icon
#      con[ chg(   0    F)  lev{  0i   0i    1    1    2    2    3    3    4    4}]        con[ chg(   1    P)  lev{   0    0    1    1    2    2    3    3    4    4}]
%t0.5 %?bp<%?bc<%xdo|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdp|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdq|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdr|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xds|%xdL>|%?bl<%xdG|%xdG|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>;%t0.5 %?bp<%?bc<%xdt|%xdt>|%?bl<%xdo|%xdo|%xdp|%xdp|%xdq|%xdq|%xdr|%xdr|%xds|%xds>>
# Power text
%t0.5 %e|177|4|18|5|e4002b|%ac%?bl<%bl|%bl||||||>;%t0.5 %e|177|4|18|5|e4002b|%ac%?bl<|||||||>
%e|177|4|18|5|c0c0c0|%ac%?bl<||%bl|%bl|%bl|%bl|%bl|%bl>
#
#Hard Disk Activity
%t0.1 %?lh<%xdJ|%xdI>;%t0.1 %?lh<%xdK|%xdI>;%t0.1 %?lh<%xdM|%xdI>;%t0.1 %?lh<%xdN|%xdI>
#
Just save this to your H340 as 'Clean Dark mf-lf.wps', play it and you should be good to go.

m a r

EDIT: to remove extra lines and to move the clock over a few pixels

Last edited by rogue_ronin : March 20th, 2007 at 04:39 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old March 21st, 2007, 09:53 AM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
Thanks for all!!!!
I'm gonna try to change the wps with the code described bellow...

Thanks again...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old March 21st, 2007, 05:05 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
You're welcome. Let us know if you succeed.

m a r
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old March 23rd, 2007, 05:11 PM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
There an issue: the next track name dont display, and some white points appear on the top of the screen. It may be the text of the next track showing offside the top of screen?
I'm using this build: rockbox-multi-20070319.zip by Norbusan & Ashen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old March 24th, 2007, 04:11 AM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
I'm using the same build, but it looks fine on my H340. Have you run the theme, or just the wps? It might be that the fonts are different.

Try choosing the Clean Dark mf-lf theme from the Browse Themes menu.

I only made the changes I described. Next track hasn't been touched at all.

Did you save the above text as a file, then copy it to the wps folder, replacing the old version (make a backup!)? If you tried merging or cutting and pasting, there might have been a little error in the result. Make sure that no extra blank lines have crept in, as sometimes happens when cutting and pasting.

Do a fresh, clean replacement of Clean Dark mf-lf.wps, then run the theme (not just the wps) and see if any improvement results. The adjustment I made is simple, it shouldn't break anything at all. I just suppressed two things and added the clock at the position you wanted.

m a r

ps: when I was re-theming a lot, mounting and unmounting the H340, one time my config file got corrupted. You might have to reset your settings and restart. (Try saving your current settings first, then reapply them as a test.)

Last edited by rogue_ronin : March 24th, 2007 at 04:17 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old March 24th, 2007, 08:14 PM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
Sorry... the next track now appear.... i'dont know what happened...

But the white point issue still there. I've looking the pattern of this points and look like a double white line behind the icons at the top of the screen. I dont know how to make a capture....

Thanks for ask so quickly!

(and sorry about my english)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old March 24th, 2007, 09:23 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
Have you checked the .wps file for typos/errors? Did you use the Browse Theme menu item?

Look here for how to get a screendump.

We need some more clues.

m a r
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old March 25th, 2007, 05:31 PM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
Ok. I've checked the wps code and a strange character appear at the begening of the code. Now the wps works fine.
Thanks for your time....!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old March 25th, 2007, 07:17 PM
Hoping For A Cool Title
 
Join Date: Jan 2007
Posts: 62
You are totally welcome. Glad you figured out the problem. Where did the strange character come from?

m a r
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old March 26th, 2007, 12:08 PM
Newbie Floating Down The Mistic River
 
Join Date: Aug 2006
Posts: 11
I don't know... because i've copy and paste the code the first time.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 10:51 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
This image is the bottom of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.