Copy Cover - AmaroK script
Version: 1.6    Date: 2005/05/31

Aurelien Bompard <gauret(a)free.fr>
License: GNU GPL


Description:
Copy the cover of current playing track to the song's dir. Does not overwrite
existing images in this folder. The filenames can be configured with the
"Configure" dialog. By default, it's the album's name, with spaces replaced
by underscores.

An "offline" version is also included. If you have amaroK >= 1.2.3,
launch it and run the script. It will find all the downloaded covers
and copy them in the right directory, just as the amarok plugin would have
done. It also creates the desktop files.
Make sure you first run the script with the "-d" option (debug mode), in which
the actions will only be printed, not commited. A --help option is available.
AmaroK >= 1.2.3 and python >= 2.3 are required for this offline version.


Bugs:
If something goes wrong, or does not seem to work as expected, quit amaroK, 
and relaunch it from a Konsole with the command "amarokapp". Make sure
CopyCover is running in the scripts manager, and try to reproduce the
anormal behavior. Look at the output in the Konsole for more information
about what is going on, and what the problem is.
You can also look at ~/.xsession-errors for messages.


ChangeLog:
Version: 1.6   Date: 2005/05/31
- bugfixes for the "remove covers" option
  Thanks a lot to Gleb Litvjak and KNT for that.
- write debuginfo to ~/.xsession-errors by default

Version: 1.5   Date: 2005/05/28
- check for write permission before copying
- add general error handling
- add support for writing to VFAT partitions (don't attempt to change
  permissions, and remove more chars from filename)
- new shell script, addcoverdirs.sh: adds .directory files in you music
  collection, whenever a cover is found.
- add option to delete covers from amaroK's cache after copy

Version: 1.4    Date: 2005/04/27
- Fix for file URLs looking like file:/path/to/song instead of
  file:///path/to/song. Add a generic check for such cases, to avoid crash.
  Thanks to Ivan Lezhnev for the bug report
- Include the offline version

Version 1.3
- Fix for albums containing "/"

Version 1.2
- Fix PyQt warning

Version 1.1:
- If the cover is copied to the album's folder, a .directory
  Desktop file is created to change the folder's icon to the new
  cover image.
- Add a config checkbox to enable it, disabled by default
- Fix bug with filename encoding

Version 1.0:
- initial release

