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
| | |-+  WPS on 80GB iPod
« previous next »
  • Print
Pages: [1]

Author Topic: WPS on 80GB iPod  (Read 1741 times)

Offline frankhutchison

  • Member
  • *
  • Posts: 3
WPS on 80GB iPod
« on: July 18, 2007, 04:16:31 PM »
Hi folks.  I'm trying to customize the WPS on my 80GB iPod.  Here's the current work-in-progress...



It's cobbled together from the jBlackGlass and FrostBox themes. This is nearly the way I want it, but I'm having problems with a couple of things.  I searched the forums for answers but wasn't successful...

(1)  Currently, the artist, title, and album are displayed to the right of the album art, but I'd like to set it up so that they're centered in the screen when no album art is present.  In my former life as an iRiver H320 owner, this is what worked on that player...

 Â %s%?C<%m|71|216|%ac|%ac>%?ia<%?it<%ia|>|>
 Â %s%?C<%m|71|216|%ac|%ac>%?ia<%?it<%it|%fn>|%fn>
 Â %s%m|4|216|%?C<%m|71|216|%ac|%ac>%id

...but the iPod doesn't seem to understand this.

(2)  I'd like the album art to center itself in the alotted space when one of its dimensions is less than 100 pixels.  On the old player, it went something like this...

 Â %Cl|7|35|sc100|sb100|

...or...

 Â %Cl|7|35|sc100|sc100|

...but it's not working on the iPod.  Of course, this feature isn't essential, but it would just look nicer.  Am I doing something wrong, or is there a patch for this that I need?

Thanks much!
« Last Edit: July 18, 2007, 10:08:52 PM by frankhutchison »
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: WPS on 80GB iPod
« Reply #1 on: July 18, 2007, 07:56:04 PM »
Try this:
%?C<%s%m|71|216|%?ia<%ia|%?d2<%d2|(root)>>|%ac%?ia<%ia|%?d2<%d2|(root)>>>

As far as centering the album art what you have looks like it should work in theory.  Since all my album art is 100X100 anyway I have no way of knowing.  Great looking theme though.
Logged

Offline frankhutchison

  • Member
  • *
  • Posts: 3
Re: WPS on 80GB iPod
« Reply #2 on: July 20, 2007, 05:02:43 PM »
Thanks, tdtooke, for the advice on problem #1 (and for the compliment!). :D Unfortunately, that code didn't seem to work either (the fields didn't show up on the WPS at all). However, I finally did make it work by revamping someone else's code (it was from ZenPod V2 in the iAudio X5 gallery).  Here's what worked, in case it helps anyone in the future...

%e|4|42|310|1|EDEAED|%?C<%e|114|42|197|1|EDEAED|%ac%?ia<%ia|%?d2<%d2>>|%ac%?ia<%ia>>
%e|4|56|310|1|EDEAED|%?C<%e|114|56|197|1|EDEAED|%ac%?it<%it|%fn>|%ac%?it<%it|%fn>>
%e|4|70|310|1|EDEAED|%?C<%e|114|70|197|1|EDEAED|%ac%?id<%id|%d1>|%ac%?id<%id|%d1>>

As for problem #2 -- yeah, most of my art is 100x100 too, but because of box sets and things like that, I have some art with odd dimensions (like 52x100, for example). It always looked pretty sharp on my iRiver when those would center themselves (whether vertically or horizontally) within the space for the album art.  Right now, though, it either gets pushed over to the right or down to the bottom.  Sounds like you think my code looks ok, so there must be something else going on.  Anyone else have any ideas? Thanks...
« Last Edit: July 20, 2007, 10:57:53 PM by frankhutchison »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  WPS on 80GB iPod
 

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

Page created in 0.067 seconds with 15 queries.