#3 Album Art Selection Preference

closed
nobody
None
5
2009-02-15
2009-02-07
Steve Hollis
No

Not really a feature request, since it already exists, but then not really a bug either...

Is it possible to have an order of preference for the album artwork files, or some kind of config flag to choose the 'preferred' filename? Here's what I mean:

char * album_art_names[] =
{

"AlbumArtSmall.jpg", "albumartsmall.jpg",
"Cover.jpg", "cover.jpg",
"AlbumArt.jpg", "albumart.jpg",
"Album.jpg", "album.jpg",
"Folder.jpg", "folder.jpg",
"Thumb.jpg", "thumb.jpg",
0
};

From albumart.c in the current CVS.

Since the loop returns when it finds a valid artwork file, "AlbumArtSmall.jpg" is, by default, the 'preferred' artwork file. That particular file is a WMP artifact, usually accompanied by "Folder.jpg" which is higher quality (200x200px).

The short term fix is to have "Folder.jpg" appear before "AlbumArtSmall.jpg" but, ultimately, should there be some way of setting an order of preference, or a function to select the best/most suitable artwork?

Great work on this BTW, works great with my Sony Bravia 40W4500 :)

Discussion

  • Stedy
    Stedy
    2009-02-07

    char * album_art_names[] =
    {

    "AlbumArtSmall.jpg", "albumartsmall.jpg",
    "Cover.jpg", "cover.jpg",
    "AlbumArt.jpg", "albumart.jpg",
    "Album.jpg", "album.jpg",
    "Folder.jpg", "folder.jpg",
    "Thumb.jpg", "thumb.jpg",
    0
    };

    could this array been placed in the config file?
    Because i have album art named as front.jpg and back.jpg in addition to what you have in your arry.

     
  • Justin Maggard
    Justin Maggard
    2009-02-10

    Check out the latest CVS. You can now specify the file names and the exact order for album art files in the config file. :) Let me know if you find any problems with it. I may look into downscaling album art files to JPEG_TN specs next.

     
  • Justin Maggard
    Justin Maggard
    2009-02-15

    • status: open --> closed
     
  • Justin Maggard
    Justin Maggard
    2009-02-15

    Works here now with my latest changes. Go ahead and reopen if you guys find any problems with it.