CoverChooser
Nautilus Scripts
Score 73%
Description:

CoverChooser is a small application, that searches albumart at the internet and downloads your choosen file.
Run CoverChooser and enjoy (Applications -> Accessoires -> CoverChooser).

By applying the script at a music-file (or a folder that contains music-files) the script will use the metadata to get the interpret/album-info. It saves the selected file into the selected folder. By applying on a folder which contains subfolders (.../interpret/Album), images of the artist will be fetched.
Metadata of the following filetypes will be automatically detected: mp3, ogg, flac, m4a, mpc

To use the Amazon webservice you will need a personally key. Get this key for free at http://aws.amazon.com/ and apply the key into the settings.

Recommended Installation (Debian/Ubuntu):
Run:
sudo add-apt-repository ppa:panthora/coverchooser-ppa
sudo apt-get update
sudo apt-get install coverchooser

that's it

Manual installation (Debian/Ubuntu):
Download and install the deb package

Other Distros
Download the source tarball and read the readme file.

Run CoverChooser
Run coverchooser by choosing Applications -> Accessories -> CoverChooser.
To use the Nautilus-script: go to preferences and hit on the Nautilus script button to add the Starter for nautilus-scripts.

Using nautilus-actions instead of nautilus-script
If you would like to use nautilus-actions instead, use the values:
"coverchooser -g" and "--path %d/%f"

Change settings
Use the preferences at the gui.

Enjoy the new release and please tell us your experiance with this script. So I can improove it!
Last changelog:

6 years ago

0.1
* First public version (beta)
0.2
* First stable version
* Multiple bugfixes and changes
0.3
* Added: Image size and filetype is shown
0.3-2
* Solved: problems with permissions (only deb packaging changed)
0.4.12
* Complete rewrite
* New features added (like Drag n drop)


... And dont forget to vote :-)

wjhendrickson

6 years ago

i run CoverChooser from the command line, and i get no error messages. this is the pertinent output from the script:

Module: 'Amazon' (album) loaded
no cover (Amazon)
fetchJob done (Amazon)

i do get covers from LastFM and one other module, though.

i test the key via Firefox and IE, to no avail.

i'm trying the https://secure.roundsphere.com method now...

thx,
-bill

Report

wjhendrickson

6 years ago

Hey,

FYI, signing up for that roundsphere API account did the trick, so just having that Amazon key is not enough, it seems.

thx for the help!

-b

Report

alexibaba

6 years ago

To your second question:
Currently there is no way to run CoverChooser without the gui. But you could turn off all the not needed modules: Open the file /etc/coverchooser.conf and take a look at the parameters MODULE_ALBUM_ORDER and MODULE_ARTIST_ORDER

Report

skooter1121

6 years ago

Thought I'd check to see if there have been any updates to your marvelous program.

BTW: It would be nice to see the current version number somewhere on the application window. (I had to fire up Synaptic to find the version.)

Again thanks for this tool!

-Sk

Report

alexibaba

6 years ago

Ooops :-)
Will be done!

Report

skooter1121

7 years ago

Great program.

I was wondering if you were able to add a Wikipedia search yet?

And a search on the folder/file name. I've got lots of text files of books that I have been manually entering the 'fetch' parameters.

(Just a thought, add a drop-down box for a pre-filled fetch field. Like: Book, TV, Movie, Game....)

Still a very great progam.

BTW - Is there anything like it in the Windows World?

-Skooter

Report

alexibaba

7 years ago

Hi,
a Wikipedia search will come in the near future. I've already started coding and testing the new module. The Wikipedia module will only search for Artist images (not album).

To verify the directory names (if no metadata is found) is a good idea. I will try to do that within the next release.

Your suggested dropdown-box sounds good. But I think, that this will take some more time for coding and changing all the current modules. I'm very busy this days, so you will not find this feature in the next release (perhaps in the next but one).

Thank you for your comment!

Report

lzap

7 years ago

Very similar program is

http://covera.zapletalovi.com

but is C++ / QT. Less features but faster a bit.

Report

alexibaba

7 years ago

Hi lzap,

the homepage of Covera is saying "coming soon", so I think Covera is similar to CoverChooser (not the other way).
About the speed:
I haven't tried Covera but, of course, they will be faster because they trace only one query (at google).
But thank you for the link, I will look at this application when it is finished.

By the way, CoverChooser is written in Python/GTK

Report

Brutus180

7 years ago

Thanks for the cool app! Keep up the good work. This is very useful!

Report

skooter1121

7 years ago

This is a great Nautilus Plugin.

1. The CoverChooser window exceeds the height of my screen (EeePC netbook 1024x768). I need to manually move it to see the bottom. Plesae take out an inch or so in height.
2. Would be nice to search WiKiPedia for images also. Often they have pictures of artists that are not CD covers which would be great for the artists root folder or for movies.
3. I also use the cover-thumbnailer_0.7_all.deb Nautilus plug-in that automatically creates a folder thumbnail from a folder.jpg file inside. With your program and the thumbnailer it is so easy to choose and apply art as CD folders.

Very nice, useful and easy to use. THANX.

Report

alexibaba

7 years ago

Hi,
According to the Window size, you are able to change this by yourself. There is a config-file at:
/etc/coverchooser.conf
just open that file in an texteditor (you need sudo rights, type in a terminal: sugo gedit /etc/coverchooser.conf) and change the values at the "Skin" area. On customizing a line, the # sign must be removed.
Try out the following values:
SIZE_IMAGE 100
SIZE_MARGIN 18
YPOS_LABEL 6
YPOS_IMAGE 24
YPOS_BUTTON 130
YPOS_ROW2 170
YPOS_ROW3 340

I will try to write a module for the Wikipedia Artist images. Please be patience.

Report

skooter1121

7 years ago

Your settings worked perfectly. THANX for the quick reply.

Have you looked at the thumbnailer I mentioned?

-S

Report

alexibaba

7 years ago

Oh yes, cover-thumbnailer is a great tool. Im using it on my desktop pc. At the netbook it is a little bit to slow on opening some folders.
Nice that I could help you.

Report

FLOZz

7 years ago

It's very useful !
Thanks you !

Report

stabbyjones

7 years ago

hey, this is the best thing i've found for getting album art hands down.

i have a lot of missing art and made some bash scripts to go through my music folders by artists and by album, i'm by no means an expert but some functionality like this would be awesome.

is there a way to remove data in the strings the program uses?
I have mp3 info like "ARTIST" - "ALBUM [cd1]"

i would love a way to tell this program to avoid the part of the string in brackets so i don't have to edit the album field manually.

musiccoverscript-artists.sh
Quote:#!/bin/bash
for FOLDERS in /home/user/lachlan/music/*/*
do
[ -f "$FOLDERS/folder.png" ] && convert "$FOLDERS/folder.png" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/Folder.png" ] && convert "$FOLDERS/Folder.png" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/folder.png" ] rm "$FOLDERS/folder.png" & echo "folder.png replaced by folder.jpg"
[ -f "$FOLDERS/Folder.jpg" ] && mv "$FOLDERS/Folder.jpg" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/folder.jpg" ] && echo "folder.jpg exists" || CoverChooser $FOLDERS
done

musiccoverscript-albums.sh
Quote:#!/bin/bash
for FOLDERS in /home/user/lachlan/music/*
do
[ -f "$FOLDERS/folder.png" ] && convert "$FOLDERS/folder.png" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/Folder.png" ] && convert "$FOLDERS/folder.png" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/folder.png" ] rm "$FOLDERS/folder.png" & echo "folder.png replaced by folder.jpg"
[ -f "$FOLDERS/Folder.jpg" ] && mv "$FOLDERS/Folder.jpg" "$FOLDERS/folder.jpg"
[ -f "$FOLDERS/folder.jpg" ] && echo "folder.jpg exists" || CoverChooser $FOLDERS
done

Report

alexibaba

7 years ago

Hello stabbyjones,
the CoverChooser is using the ID3-Tags from your MP3s. I think the very best solution would be, to correct your id3-tags at first (there is an extra tag for cd-number). You could write a script, that do this for you :-)

OK, here I give you the solution you want:
Open the CoverChooser program code (sudo gedit /usr/share/CoverChooser/CoverChooser)
Now change the lines 175-177
Old
Quote:if self.artist != '':
>print 'Metadata: artist = '+self.artist
>print 'Metadata: album = '+self.album
New
Quote:if self.artist != '':
>if self.album != '':
>>self.album = self.album.replace('[cd1]', '')
>>self.album = self.album.replace('[cd2]', '')
>>self.album = self.album.replace('[cd3]', '')
>>self.album = self.album.strip()
>>print 'CD-No. from the albuminfo deleted'
>print 'Metadata: artist = '+self.artist
>print 'Metadata: album = '+self.album
Now save the file and try if it works. I haven't tested this code but it should do the stuff you want.

Hint: This is a Python code. So you need the correct indent! I described the indent by '>'.

Im no bash expert, but I think there are some bugs in your script:
1. Don't forget to remove "Folder.png"
2. In the albums-script the first two lines within the DO-LOOP are the same

I hope this works for you!

Report

stabbyjones

6 years ago

I finally went through all my music again and got my tags right so i went back to the original version.

Is there a way to set a default choice?

so i just set everything to run in my script and pick last.fm? then i can run it again without the default choice and pick my own?

Report

ace214

7 years ago

Is there a way you could make a field show the resolution of each result, so that the user can apply whichever one is biggest. Also, what exactly the "force square" option do? Does it actually change the image or just not allow images that aren't square?

Report

alexibaba

7 years ago

to print down the resolution of each picture is actual not possible. But I can include it in the next version, if you want so.

the "force square" option means, that the image will be scaled to a square, even when the original size is not a square. So you will get "stretched" images when the original is not a square.

Report

ace214

7 years ago

I think showing the resolution of each (perhaps in a tooltip?) would make it easier to choose between the various sources. I would love to have this in a future version.

Report

alexibaba

7 years ago

In the new version (0.3) the image size and the filetype is shown.
enjoy the new release!

Report

MastroPino

7 years ago

Very nice work!

I have a wuestion, I need that the name must be like "Cover.jpg" and not "folder.jpg", what I have to do?

Report

alexibaba

7 years ago

You can change the default filename in the config file.

/etc/coverchooser.conf

good luck!

Report

MastroPino

7 years ago

Sweet ^^

Report

6 years ago

0.1
* First public version (beta)
0.2
* First stable version
* Multiple bugfixes and changes
0.3
* Added: Image size and filetype is shown
0.3-2
* Solved: problems with permissions (only deb packaging changed)
0.4.12
* Complete rewrite
* New features added (like Drag n drop)


... And dont forget to vote :-)

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Details
version
0.4.12
updated Apr 27 2011
added Dec 19 2009
downloads
page views 3329