Amarok album cover copy with mycopycover.pl
Par Le Seb, dimanche 5 novembre 2006 à 17:37 :: Linusque
I've written a Perl version of the copycover-offline.py script found in Amarok's CopyCover scripts ...
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 !

Commentaires
1. Le mercredi 13 décembre 2006 à 01:33, par Burner23
2. Le mardi 9 janvier 2007 à 00:47, par Eric
3. Le mardi 9 janvier 2007 à 01:28, par Eric
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.