DisCoverArt 2.6.0.1

Get albumart/coverart for music based on artist and title or album (windows XP, 7, 8, 10 or higher).

Introduction

DisCoverArt is a command line tool to download albumart (coverart) for mp3 music files based on artist and title or album.
The target audience are people who have organized their music collection in a single track artist+title way iso based on albums or album directories.
This tool can be used stand-alone, but it was aimed to be used in conjunction with the great software called mp3tag.
But feel free to write your own batch script for downloading your albumart using DisCoverArt.
Below you will find the description for using DisCoverArt together with mp3tag to auto batch find and import albumart based on artist and title.
It was tested with mp3tag 2.54 but may work with earlier and later versions of mp3tag as well.

Important remark since version 2.6.0.1

Previous version 2.4.0.1 stopped working because Google changed the format of the returned html code.
We had to find a new method for retrieving the Google searchresults.
This new method also implies that Google no longer accepts multiple automated batch queries from within mp3tag (or others).
DisCoverArt will still work the first x automated queries, but your ip-address will be temporarily blocked by Google if you do continue after x+1 automated queries. You can however continue to use DisCoverArt for single albumart/coverart queries within mp3tag as long as Google detects that a human, not a program or bot, performs the queries.

Download and Installation

Download DisCoverArt.zip.
Unzip DisCoverArt.exe and custommsgbox.dll from DisCoverArt.zip to a permanent directory (f.i. %programfiles%\Mp3tag).
Register custommsgbox.dll (created by westconn1):
open a command prompt (cmd.exe) and type:

Manually select 1 jpg image with size 500x500 out of max. 5 suggestions from the site amazon.com based on artist=Keane and title=Everybody's Changing (no quotes).
The image will be named: "Keane - Everybody's Changing.jpg".
You will be presented with max. 5 images. You can select "Yes", this will keep the selected image; "No", this will continue to the next image; "Cancel", this will abort the search.

Auto-download 1 jpg image with size 500x500 from all sites except discomusic.com (because they have a watermark over the images), based on artist=Keane and title=Everybody's Changing (no quotes).
The image will be named: "Keane - Everybody's Changing.jpg":

DisCoverArt was designed to be used in conjunction with a software called mp3tag.
It has been found that searching 300x300 images gives the best results. (500x500 is also an option, but gives less results).
Here are the possible suggestions to use DisCoverArt together with mp3tag.

Precondition:

It is needed that at least the tags called "Artist" and "Title" are available in the mp3 files.
If not, you can easily derive these tags from the filename using mp3tag.
If the filename has the form "Artist - Title.mp3", select in the menu "Convert/Filename Tag" and use as the format string: %artist% - %title%.

Before using DisCoverArt, you should first make 3 definitions in mp3tag. One for auto-batch search and 2 (+2 optional) for manual search.
If you don't want to make these definitions manually, there is a configuration file for mp3tag available in DisCoverArt.zip called Mp3tagSettings.zip that you can unzip to %appdata%\mp3tag. Warning: these settings will overwrite your previous settings in mp3tag.
Here is the manual method:

Create action to Delete Coverart.

In the menu, select "Actions/Actions" and click on the button "New" (button with yellow star).
Name of action group: "Delete Coverart", and click "Ok".
click on the button "New" (button with yellow star).
Select Action Type: "Remove fields"
Fields to remove: PICTURE

Usage of DisCoverArt within mp3tag.

Now you can start importing coverart using mp3tag and DisCoverArt.
Important: existing coverart may be overwritten in the directory where the music file is located and also in the music file itself!

First load the directory where your mp3 files are located: In the menu, select "File/Change Directory" and select your mp3 directory.
It is handy to add a field "Cover" in the view to show and sort which mp3 files already have albumart/coverart.
To do that, right-click on the header of the table and select "Customize columns..." and check the label called "Cover" and click "Ok".
Now sort on that column "Cover". Those who already have coverart should show a 1, the others are empty.
Now multiple-select the "empty cover" music files (using shift or control key and mouse).
It is recommended to select a maximum of 300 mp3 files at once, otherwise your computer may slow down or results may be skipped, since queries are almost done simultaneously.
Now right-click on the selected mp3 files and select "Tools/DisCoverArt Google 300x300 Artist+Title"
Now you should see a number of black console windows popping up, one for each music file, doing a query using DisCoverArt.
Wait until all the console windows are closed.
Now DisCoverArt has created .jpg files with the name "Artist - Title.jpg" (note that existing jpg's with that name will be overwritten!).
Now you should batch import those .jpg files into the music files (keep the same music files select in mp3tag): from the menu select "Actions/Save Coverart"

Now you can walk over the music files in mp3tag and see/evaluate the imported coverart.

Sometimes it may occur that no coverart was found or that the imported jpg was not good.
In this case you can manually select an image to import as coverart.
Select only one mp3 file, right-click and select "Tools/DisCoverArt Google 300x300 Artist+Title Manual".
Now you can visually select the image you prefer: select "Yes", this will keep the selected image; "No", this will continue to the next image; "Cancel", this will abort the search.
After you selected an image, it is only downloaded to a file called "Artist - Title.jpg" (note that an existing jpg with that name may be overwritten!).
Now you should import this jpg file into the music file: while the mp3 file is still selected, from the menu select "Actions/Save Coverart".
If this method does not succeed, try a 500x500 search: "Tools/DisCoverArt Google 500x500 Artist+Title Manual".
If this method does not succeed, try a Medium+Square search: "Tools/DisCoverArt Google Medium+Square Artist+Title Manual".
If this method does not succeed, try a Medium search: "Tools/DisCoverArt Google Medium Artist+Title Manual".
You can always remove the saved coverart via: "Actions/Remove Coverart" one by one or in group. This will leave your mp3 files untouched!

Using this method you can easily and fast batch import albumart/coverart for your complete music mp3 library.

Disclaimer

This software and the accompanying files are supplied "as is", without any express or implied warranty.
In no event shall the author be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages from the use of this software.
By using this software you agree with these conditions.