
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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!
9 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 :-)
9 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 :-)
alexibaba
10 years ago
for me, the link is still working with my access-key. What exactly isn't working? Do you get an error-message? You could try a different browser because some browsers don't show xml-content.
I'm using the following key:
https://aws-portal.amazon.com/gp/aws/developer/account/index.html
--account --Security Credentials --Tab: Access Keys --Access Key ID
Currently I'm not sure if you needs a special signup for this key from here:
https://secure.roundsphere.com/amazonapisigning/signup.html
Report
wjhendrickson
10 years ago
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
10 years ago
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
skooter1121
10 years ago
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
10 years ago
Will be done!
Report
skooter1121
11 years ago
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
11 years ago
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
11 years ago
http://covera.zapletalovi.com
but is C++ / QT. Less features but faster a bit.
Report
alexibaba
11 years ago
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
11 years ago
Report
skooter1121
11 years ago
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
11 years ago
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
11 years ago
Have you looked at the thumbnailer I mentioned?
-S
Report
alexibaba
11 years ago
Nice that I could help you.
Report
FLOZz
11 years ago
Thanks you !
Report
stabbyjones
11 years ago
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
11 years ago
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
10 years ago
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
11 years ago
Report
alexibaba
11 years ago
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
11 years ago
Report
alexibaba
11 years ago
enjoy the new release!
Report
MastroPino
11 years ago
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
11 years ago
/etc/coverchooser.conf
good luck!
Report
MastroPino
11 years ago
Report