Recursively Download Cover Art For All Folders Containing Mp3 Files, Based On ID3 Tags


Una buena idea cuando tienes una colección muy extensa de música en formato mp3, el scripts descrito mas abajo no requiere conocimientos acabados, por tanto no se explicara mas de lo explicado en el tema original.

Cover Art Downloader (aka «Coverlovin«) is a nifty Python script I’ve been looking for a long time – it traverses a directory containing mp3 files and downloads cover art based on id3 tags of the files in each directory. The images are downloaded from Google Images.

How to use Cover Art Downloader (Coverlovin)

Download the script(s) from Launchpad, and extract it somewhere, let’s say in the «coverlovin_1.0» folder in your home directory.

Then, install python-simplejson:

sudo apt-get install python-simplejson

Now, to download the cover art for all the mp3 files in a folder (and subfolders), use the following commands (firstly «cd» into the Coverlovin folder):

cd ~/coverlovin_1.0 ./ "/path/to/mp3s/folder"

Where /path/to/mp3s/folder is … you got the idea. I’ve used quotes for the above commands in case you have spaces for the path to the mp3s folder.
Coverlovin comes with a few options too: you can specify the image size («–size=SIZE», where the size can be: small, medium or large), image format («–image=IMAGE», where IMAGE can be jpg, png or gif), image name («–name=NAME») and more – you can see all the available options by running without any options («./»).

(CC) 2009-2011. | Daily Ubuntu / Linux news and application reviews