Sorry for Python fans, but I simply can't stand that programing language !
That's why I've written from scratch mycopycover.pl, a Perl version of Aurelien Bompard's script with several enhancements :
- Thanks to Perl, you'll have covers for albums/artists whose names contain accents
- Supports AFT feature introduced within Amarok 1.4.2 (and that broke the python script I was using then)
- Supports sampler albums, ie you won't have to manually copy covers for those Various Artists albums you have anymore
- Creates .directory entries with relative pathnames, so that you can move your folder without losing its thumbnail in Konqueror
Its usage is quite simple :
This script copies album covers found in Amarok's cache to the album directories.
Usage: mycopycover.pl [-dfhrtv] [-c <scheme>] [-s <string>]
-c <scheme> : use <scheme> as cover filename scheme (default: '%a - %t.png')
recognized jokers in <scheme> are :
'%a', which will be expanded to artist name
'%t', which will be expanded to album's title
-d : do not create .directory entries
-f : force replacement of existing covers / .directory entries
-h : this (help) message
-r : remove covers from Amarok's cache once copied into albums' directories
-s <string> : use <string> as artist name for sampler albums (default: 'Various Artists')
-t : test mode, won't perform any action
-v : verbose output
-w : don't warn about possible problems with locale
I've been using it for 3 weeks now, and it seems to get things done correctly.
Enjoy !
1 De Burner23 -
tres chic :D
2 De Eric -
Excellent !
The only missing feature: the ability to copy the cover of a given album, not all the collection...
3 De Eric -
Another thing: special characters could be replaced by white spaces in album titles, unless the copy fails.
But very good script :)