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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Trying to implement album art on c200 theme. Not working?
« previous next »
  • Print
Pages: [1]

Author Topic: Trying to implement album art on c200 theme. Not working?  (Read 3011 times)

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Trying to implement album art on c200 theme. Not working?
« on: December 15, 2007, 09:28:09 PM »
Hi, I was porting the default theme to the c200 and I'm trying to allow the user to use album art even if the screen is tiny. I have all the code set up. Here it is:

Quote
# cabbie 2.0 default for the Sansa c200 Series by Marc Guay
# derived from cabbie 2.0 default (C) 2007, Johannes Voggenthaler (Zinc Alloy)
%wd
%X|wpsbackdrop.bmp|0|0|
%P|pb.bmp|
%xl|A|lockclosed.bmp|36|69|
%xl|B|lockopen.bmp|36|69|
%xl|C|battpl.bmp|51|69|
%xl|D|battch.bmp|51|69|
%xl|E|batt00.bmp|51|69|
%xl|F|batt01.bmp|51|69|
%xl|G|batt02.bmp|51|69|
%xl|H|batt03.bmp|51|69|
%xl|I|batt04.bmp|51|69|
%xl|J|batt05.bmp|51|69|
%xl|K|batt06.bmp|51|69|
%xl|L|batt07.bmp|51|69|
%xl|M|vol0.bmp|69|69|
%xl|N|vol1.bmp|69|69|
%xl|O|vol2.bmp|69|69|
%xl|P|vol3.bmp|69|69|
%xl|Q|shuffle.bmp|86|69|
%xl|R|repeatall.bmp|105|67|
%xl|S|repeatone.bmp|105|67|
%xl|T|repeatshuffle.bmp|105|67|
%xl|U|repeatab.bmp|105|67|
%xl|V|stop.bmp|118|67|
%xl|W|play.bmp|118|67|
%xl|X|pause.bmp|118|67|
%xl|Y|ff.bmp|118|67|
%xl|Z|rew.bmp|118|67|
%xl|a|vol4.bmp|69|69|
%xl|b|vol5.bmp|69|69|
%xl|c|vol6.bmp|69|69|
%xl|d|vol7.bmp|69|69|
%xl|e|vol8.bmp|69|69|
%Cl|1|1|s20|s20|
%pb|8|2|129|54|
#NowPlaying

%?C<%s%m|43|%al%?ia<%ia|%?d2<%d2|(root)>>|%s%ac%?ia<%ia|%?d2<%d2|(root)>>>
%?C<%s%m|43|%al%?it<%it|%fn>|%s%ac%?it<%it|%fn>>
%?C<%s%m|43|%al%?id<%id|%?d1<%d1|(root)>>|%s%ac%?id<%id|%?d1<%d1|(root)>>>
%s%?C<%m|43||%ac>Next: %?It<%It|%Fn>
%?mh<%xdA|%xdB>
%?bp<%?bc<%xdD|%xdC>|%?bl<|%xdE|%xdF|%xdG|%xdH|%xdI|%xdJ|%xdK|%xdL>>
%?pv<%xdM|%xdN|%xdO|%xdP|%xda|%xdb|%xdc|%xdd|%xde>
%?ps<%xdQ>
%?mm<|%xdR|%xdS|%xdT|%xdU>
%?mp<%xdV|%xdW|%xdX|%xdY|%xdZ>


After testing this out, all I get is the below screendump. It detects album art but doesn't want to display it. I'm using a simulator, but it shouldn't matter.

Screendump attached.

Thanks a lot!

* dump 071215-202500.PNG (5.3 kB, 132x80 - viewed 452 times.)
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Trying to implement album art on c200 theme. Not working?
« Reply #1 on: December 15, 2007, 10:30:41 PM »
Try the troubleshooting hints here:
http://www.rockbox.org/twiki/bin/view/Main/AlbumArt#Troubleshooting

It might be the image size larger than the screen size.

Also %Cl|1|1|s20|s20| is going to be too high up relative to the Now Playing bar.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Trying to implement album art on c200 theme. Not working?
« Reply #2 on: December 15, 2007, 10:42:50 PM »
Thanks for the advice, yapper, but I tried all of that and the actual album art still doesn't show up.

The image size is 20x20 and I realized that it would be irregularly placed, but I was just trying to get it to show up.

Does anyone know why it's now working?

EDIT: Could it be that the c200 doesn't support album art at all?
« Last Edit: December 16, 2007, 12:15:58 PM by crzyboyster »
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Trying to implement album art on c200 theme. Not working?
« Reply #3 on: December 16, 2007, 12:38:11 PM »
Quote from: crzyboyster on December 15, 2007, 10:42:50 PM
EDIT: Could it be that the c200 doesn't support album art at all?
The c200 does support album art and I'm using a 40x40 picture in my own WPS (I was just playing around with it actually). This size is really the minimum, I wouldn't make it any smaller. If there is text, it is barely readable - album art at that size has more of a decorative effect.

Quote from: yapper on December 15, 2007, 10:30:41 PM
%Cl|1|1|s20|s20|
What's the "s" doing there in your code? The album art wiki doesn't know it - if I remember correctly it was used for resizing which is not in the official builds yet (the patch didn't meet Rockbox standards). There are only alignment markers you can use in this place (l,c,r or t,c,b respectively) which define the position if the picture is smaller than your bounding box and are not even necessary - I would try without and I think you want 40x40 for it in the end, looking at the margin.
Logged

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Trying to implement album art on c200 theme. Not working?
« Reply #4 on: December 16, 2007, 01:00:16 PM »
I am now getting really frustrated. I tried out the following and it still won't work.

Quote
# cabbie 2.0 default for the Sansa c200 Series by Marc Guay
# derived from cabbie 2.0 default (C) 2007, Johannes Voggenthaler (Zinc Alloy)
%wd
%X|wpsbackdrop.bmp|0|0|
%P|pb.bmp|
%xl|A|lockclosed.bmp|36|69|
%xl|B|lockopen.bmp|36|69|
%xl|C|battpl.bmp|51|69|
%xl|D|battch.bmp|51|69|
%xl|E|batt00.bmp|51|69|
%xl|F|batt01.bmp|51|69|
%xl|G|batt02.bmp|51|69|
%xl|H|batt03.bmp|51|69|
%xl|I|batt04.bmp|51|69|
%xl|J|batt05.bmp|51|69|
%xl|K|batt06.bmp|51|69|
%xl|L|batt07.bmp|51|69|
%xl|M|vol0.bmp|69|69|
%xl|N|vol1.bmp|69|69|
%xl|O|vol2.bmp|69|69|
%xl|P|vol3.bmp|69|69|
%xl|Q|shuffle.bmp|86|69|
%xl|R|repeatall.bmp|105|67|
%xl|S|repeatone.bmp|105|67|
%xl|T|repeatshuffle.bmp|105|67|
%xl|U|repeatab.bmp|105|67|
%xl|V|stop.bmp|118|67|
%xl|W|play.bmp|118|67|
%xl|X|pause.bmp|118|67|
%xl|Y|ff.bmp|118|67|
%xl|Z|rew.bmp|118|67|
%xl|a|vol4.bmp|69|69|
%xl|b|vol5.bmp|69|69|
%xl|c|vol6.bmp|69|69|
%xl|d|vol7.bmp|69|69|
%xl|e|vol8.bmp|69|69|
%Cl|1|1|30|30|
%pb|8|2|129|54|
#NowPlaying

%?C<%s%m|43|%al%?ia<%ia|%?d2<%d2|(root)>>|%s%ac%?ia<%ia|%?d2<%d2|(root)>>>
%?C<%s%m|43|%al%?it<%it|%fn>|%s%ac%?it<%it|%fn>>
%?C<%s%m|43|%al%?id<%id|%?d1<%d1|(root)>>|%s%ac%?id<%id|%?d1<%d1|(root)>>>
%s%?C<%m|43||%ac>Next: %?It<%It|%Fn>
%?mh<%xdA|%xdB>
%?bp<%?bc<%xdD|%xdC>|%?bl<|%xdE|%xdF|%xdG|%xdH|%xdI|%xdJ|%xdK|%xdL>>
%?pv<%xdM|%xdN|%xdO|%xdP|%xda|%xdb|%xdc|%xdd|%xde>
%?ps<%xdQ>
%?mm<|%xdR|%xdS|%xdT|%xdU>
%?mp<%xdV|%xdW|%xdX|%xdY|%xdZ>

Anyone know why?
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Trying to implement album art on c200 theme. Not working?
« Reply #5 on: December 16, 2007, 01:07:58 PM »
I can't see the %C tag in your code to actually display the album art...?
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Trying to implement album art on c200 theme. Not working?
« Reply #6 on: December 16, 2007, 01:39:44 PM »
Well spotted pixelma

add something like this at the very end:

Code: [Select]
%?C<%C>
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: Trying to implement album art on c200 theme. Not working?
« Reply #7 on: December 16, 2007, 01:53:00 PM »
Thanks a lot, guys! I'm still a wps newbie here   ;D
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline tblock

  • Member
  • *
  • Posts: 3
Re: Trying to implement album art on c200 theme. Not working?
« Reply #8 on: January 04, 2008, 08:10:34 AM »
Have you go this working yet?  I am interested in trying it if you're willing...
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Trying to implement album art on c200 theme. Not working?
« Reply #9 on: January 04, 2008, 08:39:03 AM »
look here: http://www.rockbox.org/twiki/bin/view/Main/DefaultWPS
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Trying to implement album art on c200 theme. Not working?
 

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

Page created in 0.094 seconds with 14 queries.