Image 01
profile-image

petepete

pete pete
CdKase Amarok

Karamba & Superkaramba by beany 10 comments

great theme, but i noticed that sometimes it didn't resize the cd artwork correctly for the 'cd case'. This was the case when the source cd image wasn't in the correct ratio..

fixed it by changing the following line:
image x=52 y=5 w=155 h=153 sensor=program program="convert `dcop amarok player coverImage` -resize 155x153! /tmp/img.png|echo /tmp/img.png" interval=5000

notice the exclamation mark after 155x153! , this tells convert not to keep aspect ratio..

props for the great theme.
nice one.
- Dec 28 2007