Talk:MusicPlayerDaemonAlbumCovers
From Music Player Daemon Community Wiki
[edit] Storing
You may wish to investigate the method that Nautilus uses to store file thumbnails; that seems to be an elegant, and simple solution, and has the advantage of a relatively flat filesystem exposure.
- After a little investigation, it appears that Nautilus is implementing the Thumbnail Management specification.
Understandably, this couldn't be used according to its strict specification, but the only thing that should be necessary to change is to add a "fullsize" folder, and don't place any restrictions on the 'thumbnail' size. Otherwise, the spec as written should be an excellent starting point for storing album covers; you could even go ahead and generate the 'normal' and 'large' sizes anyway, to accommodate clients that desire thumbnails of a specific size (eg: for pop-up notifications).
--Dbreakey 21:18, 27 June 2007 (UTC)
[edit] Advanced Folder Method
My favorite storing method is the one using folders. The problem of albums which have to be in folders could be solved like this:
The covers are in the folder the audio file is, it's name is the album title(.jpg|bmp|etc). If the album is in a folder, for each title mpd will look for the cover file with the title of the album in the folder of the album.
If the album isn't in a folder, who bothers? mpd just looks for the album cover in the folder the sound file is.
Only Problem: What if there are two albums with the same title? But one could name the covers using interpret and title of the album.
As I can see this way the folder method has no disadvantage.
Benjamin --89.55.129.234 14:11, 15 January 2008 (UTC)