Cover-thumbnailer

Various Gnome Stuff

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

12
Become a Fan
6.1

Available as/for:
Description:
Cover Thumbnailer is a small Python script which displays music album covers in nautilus, preview of pictures which are in a folder and more.

The script fits in nautilus like any other thumbnailer of the GNOME thumbnail factory; so you don't have to run it manually to generate thumbnails.

Cover thumbnailer is free software under GNU GPL v3+ license, you are free to modify and redistribute it under the terms of the license.

CONFIGURATION : System → Preferences → Cover Thumbnailer

NOTE : you need to reconnect to your session for Cover Thumbnailer start working

Get Involved :
If Cover Thumbnailer is not available in your language, you can translate it :
https://translations.launchpad.net/cover-thumbnailer/+translations
Last changelog:

Version 0.8.1 :
* Fixes bug lp:607240 (ct-gui crashes when GNOME's folders are not configured)
* Translation update (tr, zh_CN)

Version 0.8 :
* For music folders:
* Resize method (crop or preserve)
* Make mosaic when there is more than one cover
* For picture folders:
* Chose the maximum number of pictures to display on the thumbnail (from 1 to 4)
* For ignored folders:
* "Never ignore" a folder
* Other changes:
* An option for changing the thumbnail size in nautilus
* Now cover thumbnailer prevent from misconfiguration of GNOME default folders
* A new install script with dependency check

Version 0.7.2 :
* New locales : Galician, Hungarian, Romanian, Czech, Slovak
* Updated locales : Portuguese, Russian, Italian, German
* A small change in the GUI

Version 0.7.1 :
* New locales : Catalan, German and Portuguese
* Locales updated : Italian, Polish and Russian
* Bug fix in the uninstall script (rm gconf schemas)

Version 0.7 :
* Initial upload


Ratings & Comments

68 Comments

ezz913

Works great, but hate the look of the CD cover and would prefer the clean album look, is there a way to change the internal setting and to get rid of that ugly overlay of the jewel case? Or is there another Thumbnailer that will do the same with no overlays obscuring the art?

donoterase

Hello everyone. After finally getting this thing to work, I could not stop playing with it for hours...as with everything in linux, customising is the key and as such, I'd like to share a link to some pretty nice custom cd cover overlays. here's the link: [URL] http://lava360.com/freebies/download-free-dvd-case-psds-icons/ [/URL].

eaerth

i was wondering if you have some sort of config file where i would modify the placement values of the album artwork within the background/foreground graphics you've supplied. i have custom jewel case graphics i'd like to modify to fit your application; i've scanned them myself and modified them to replace the ones that came with the default "cd box" theme for musicplayer in cairo/gtk-dock. maybe there is one and i'm just not looking in the right place? p s - thanks for the great script ;}

FLOZz

Hello, For the moment, you have to change the files stored in /usr/share/cover-thumbnailer :)

eaerth

hmmm... i was afraid of that. could you perhaps then tell me where abouts decides how the image is cropped to fit into the cd graphic? in order for me to customize the display of cds i'd have to modify the placement values of the images so they fit properly on the music_bg.png. thanks

FLOZz

See here : http://pix.toile-libre.org/upload/original/1291205067.png

FLOZz

NOTE : If you want to change the placement, open the file /usr/bin/cover-thumbnailer The code for music thumbnail is from line 259 to line 285 http://bazaar.launchpad.net/~flozz/cover-thumbnailer/v0.8/annotate/head%3A/cover-thumbnailer/cover-thumbnailer.py#L259 you can change those lines : x = int((bg_width - cover_width + delta) / 2) y = int((bg_height - cover_height) / 2)

eaerth

ahhhh yes, that's what i was looking for. thanks so much.

donoterase

Hey all, finally got this thing to work! As per FLOZz'es instructions, just had to manually add a new entry via gconf-editor with the string "cover-thumbnailer %u %o" without quotes under the name command. Thanks for your help good sir. I also have one other issue and wondering if this is universal. When opening my music folder using side pane in nautilus browser, thumbnails come up perfectly...however...I have a symlink to my music folder on the Desktop, and when opening my music folder via the shortcut, I got no thumbnails generated. Any idea what's going on here. I've even tried to add the shortcut link under cover-thumbnail settings as list of music folders. Cheers again.

Renato76

Hi, I have a question about the thumbnails in my Music Folder. My Music Folder is structured like this: one folder for each artist, and inside each artist folder one folder for each album. Now, CT works pretty good, it detects the folder.jpg files in each Album folder and creates a thumbnail. However it assigns a thumbnail also to the Artist folders, which by themselves are without any folder.jpg files. It does so by arbitrarily assign one thumbnail of the Album subfolders inside the Artist ones. I dont want this. The Artist folders do not have any folder.jpg files for the specific reason that I dont want any thumbnails for them. Now, I have looked for any option to deactivate recursive attribution of subfolders' jpgs to the main folders, but I didnt find any. Is there a solution to this?

FLOZz

There is no options for disabling the recursive search of a picture... I will add this for the next version. Can you report this as a bug ? https://bugs.launchpad.net/cover-thumbnailer/+filebug (I don't want to forget to do it ^^'...)

se3n

I was wondering... see here: http://gnome-look.org/content/preview.php?preview=2&id=120258&file1=120258-1.png&file2=120258-2.png&file3=120258-3.png&name=Cover-thumbnailer how to get little thumbs to be little rotated like in the screenshot? i think it's very cool:P but how :(

FLOZz

I removed the picture rotation when I rewrote this part of the code... Normally it should be back in the next version as an option... :)

gallifrey81

Hello, I have installed Cover Thumbnailer from Ubuntu PPA. It showed Thumbnails for my music folder, and Pictures folder, but not for my videos. I have put files called .folder.jpg/.png in all the folders, but nothing. I have followed advice from previous posts on here. Now, I have cleared the thumbnail cache, and ALL of my thumbnails have gone, and are not coming back! Please help!

FLOZz

hello, if you type the following commands, what is the result ? gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/enable gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/command test -x /usr/bin/cover-thumbnailer && echo ok || echo error :)

donoterase

Hey all. I'm making slow progress on getting this thing to work. I currently have it installed, but cover-thumbnails are not showing up. I am on Mandriva 2010.1, and have installed the required dependencies. After install, I logged out then logged back in, but nothing happenend. Also tried nautilus -q to no avail. I even tried nautilus -q && nautilus & exit, but my gnome session played up with nautilus windows opening up all over the place. After reading through the comments, here's what I have done so far via command line. command: gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/enable output: true command: gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/command output: true (NOTE: original output was no value set, but I want into config-editor and added a new key named "command"...not sure if this is a correct workaround) command: test -x /usr/bin/cover-thumbnailer && echo ok || echo error output: bash: test: too many arguments. Also, if i enter the command cover-thumbnailer /home/music/Artist/ out.png, it dumps a nice little thumbnail image into my current working directory. Help anyone?

donoterase

Hey all. I'm making slow progress on getting this thing to work. I currently have it installed, but cover-thumbnails are not showing up. I am on Mandriva 2010.1, and have installed the required dependencies. After install, I logged out then logged back in, but nothing happenend. Also tried nautilus -q to no avail. I even tried nautilus -q && nautilus & exit, but my gnome session played up with nautilus windows opening up all over the place. After reading through the comments, here's what I have done so far via command line. command: gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/enable output: true command: gconftool-2 --get /desktop/gnome/thumbnailers/inode@directory/command output: true (NOTE: original output was no value set, but I want into config-editor and added a new key named "command"...not sure if this is a correct workaround) command: test -x /usr/bin/cover-thumbnailer && echo ok || echo error output: bash: test: too many arguments. Also, if i enter the command cover-thumbnailer /home/music/Artist/ out.png, it dumps a nice little thumbnail image into my current working directory. Help anyone?

FLOZz

I replied to your private message :)

elementxyz

That what i thought. I have to replace /usr/share/cover-thumbnailer/music_bg.png right?

FLOZz

Yes :) if you need help for creating your picture, you can contact me by mail: http://www.flogisoft.com/contact/

elementxyz

Hi it is possible to have an other "cd case" for the thumbnails ? Thanks for this great app!!!

FLOZz

If you draw an other CD Case, it is possible to replace the default pictures by yours :)

jaminthorns

Is there any way that Cover Thumbnailer would try not to thumbnail every folder nautilus views? Whenever I view folders in nautilus, the cover-thumbnailer tries to to generate previews even if it is not the music or pictures folder, and the times that this takes can be aggrevating. I unchecked "Enable Cover Thumbnailer for other folders" under the other tab but that didn't change anything. Here be a screenshot: http://img842.imageshack.us/img842/4104/folders.png

FLOZz

No, it is not possible, because it is nautilus which decides when a thumbnail must be made...

vishytk

I have installed this on fedora 13 and the thumbnail display for album art is working fine. But i get following error when i run "cover-thumbnailer-gui". Not sure if there is any dependency is missing /usr/bin/cover-thumbnailer-gui:277: GtkWarning: Ignoring the separator setting win.add_from_file(os.path.join(BASE_PATH, "cover-thumbnailer-gui.glade")) Traceback (most recent call last): File "/usr/bin/cover-thumbnailer-gui", line 627, in <module> gui = MainWin() File "/usr/bin/cover-thumbnailer-gui", line 363, in __init__ loadInterface(self) #Put config on the gui File "/usr/bin/cover-thumbnailer-gui", line 614, in loadInterface if os.path.samefile(CONF['music_gnomefolderpath'], CONF.user_homedir) \ File "/usr/lib/python2.6/posixpath.py", line 152, in samefile s1 = os.stat(f1) OSError: [Errno 2] No such file or directory: '<None>'

Pling
0 Affiliates
Details
license
version 0.8.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Various Gnome Stuff:

Karuna OS Logo
JCL
last update date: 18 years ago

Score 5.0

Ubuntu for Sony Ericsson z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Studio for SE z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Humunity
noobilus
last update date: 14 years ago

Score 6.1

VDesk - Visual Desktop
AnthonyAMC
last update date: 13 years ago

Score 5.5

Youtube search function for gnome shell
rivetrik
last update date: 13 years ago

Score 5.0