Well it's complicated, but here we go
http://php.net/ - Download a windows binary for PHP 5, install to C:\php
Download http://www.avantlumiere.com/svn/i7AWF/trunk/i7AWF.php to c:\php\downloadcovers\downloadcover.php
Add this before ?> to it:
$i7 = new i7AWF;
if ($argv[1] != 'Music') {
$artist = $argv[1];
$album = $argv[2];
} else {
$artist = $argv[2];
$album = $argv[3];
}
$i7->artist($artist);
$i7->album($album);
echo "About to download...\n";
$url = $i7->payload();
echo "Downloading...\n";
$cover = file_get_contents($url);
if ($cover == '' || !$cover) {
echo "Error!";
$errlog = file_get_contents('downloadcovererrors.txt');
file_put_contents('downloadcovererrors.txt', $errlog . "\nNo cover for $artist - $album");
} else {
echo "Writing...\n";
$file = fopen("D:\Music\\$artist\\$album\cover.jpg", 'w');
fwrite($file, $cover);
fclose($file);
echo "Done!";
}
Change the fopen("D:\Music....") to your directory where your music is. It assumes Artist\Album[\CD <num>] structure, with cover.jpg filenames.
Make a foo_run command, infinite simultanius runs (it only works with this, but jeez if you run it on your entire music collection you'll bring your system down, be warned)
C:\php\php.exe C:\php\downloadcovers\downloadcover.php "$directory(%path%,3)" "$directory(%path%,2)" "$directory(%path%,1)"
Make an autoplaylist with all the first tracks of your albums, and do it in sets of albums (to avoid crashing your machine). From now on, to download art, right click the first track, Run -> Cover Downloader (or whatever your named it). It outputs to an error file in its directory if it can't find album art.
EOF