Album covers

Colin Guthrie gmane at colin.guthr.ie
Mon Apr 5 15:47:33 UTC 2010


'Twas brillig, and Mark Fraser at 05/04/10 16:17 did gyre and gimble:
> Can someone please explain how album covers work in Amarok 2.3?
> 
> The reason I'm asking this is that my cover art seems to have been messed up 
> and I'm even getting different art shown in the now playing window than in the 
> playlist window.
> 
> In amarok/albumcovers there are two directories cache and large. Within both 
> directories are files which are labelled like 
> 0c09d4f3ac58a6560893dc16853a8c54. Am I right in thinking this is an MD5# of 
> the album name?
> If so how much of the name is used to create this name?
> Does the cache folder just store a small version of the one in large?
> 
> In the MySQL database this must be stored with the coresponding album title or 
> is it per track in that album?
> 
> I'm currently trying to store the cover as a jpeg in the album's directory 
> using CopyCover2.
> 
> Now the big question, is it possible have Amaork completely forget all 
> previous album covers and start getting them again?

There was a commit not that long ago that fixed some problems with
hashing of some album covers that could lead to the problems you describe:

http://gitorious.org/amarok/amarok/commit/4b2abed2810ec849ddb6ef80616e4e7fc44a778a

https://bugs.kde.org/show_bug.cgi?id=170146

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the Amarok mailing list