Okay so this depends on being willing to browse album art, but here goes...I download all of my album art from amazon etc. Being a fan of flac I of course like to keep the original images as large of possible and intact (if only I could download the vinyl covers!). Then, to make my library as easy as possible to browse, I set the number of items per page to greater than the number of albums I have - e.g. approx 500.
Problem is, that even if you set the thumbnail size to something small like 100 the browser chokes as it tries to load in and rescale 500 big images simultaneously...well, here's the trick... I download the original images in to each directory with the filename source.jpg. I then use the following script to scan the music directory and create rescaled cover.jpg images with a size of 100x100. find /home/kefa/music -type f -name source.jpg -print | while read path do echo "$path" folder=`dirname "$path"` cd "$folder" djpeg source.jpg | pamscale -xsize 100 -ysize 100 | cjpeg -outfile cover.jpg done Hey presto, now if you set the thumbnail size to 100 you can hit the 'Browse Artwork' link and after about 10 secs all 500 album covers have loaded up and you can seamlessly browse all of your album covers. -- kefa Fedora Core 4, Slimserver 6.2.1, Netgear DG834GT Squeezebox 3, Primare SPA20, Monitor Audio GR20 Squeezebox 2, Denon UD-M30, Monitor Audio PMC703 ------------------------------------------------------------------------ kefa's Profile: http://forums.slimdevices.com/member.php?userid=421 View this thread: http://forums.slimdevices.com/showthread.php?t=20138 _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
