KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (2) .- Knowledge Base  . 

CopyCover (amaroK Script)


Amarok Script

Score 82%
CopyCover (amaroK Script)

Link:  http://
Downloads:  21696
Submitted:  Apr 1 2005
Updated:  Oct 21 2007


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 on the command line. 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.

The copycover-offline.py and addcoverdirs.sh scripts are NOT meant to be run through Amarok's script manager.


Version: 1.9 Date: 2007/10/21
- fix queries when the database is in MySQL
- tell the session manager not to restart the script on login

Version: 1.8 Date: 2007/02/17
- fix the copycover-offline.py script to use the new device path feature of
Amarok. Thanks to all those who sent me a patch.

Version: 1.7 Date: 2006/10/19
- fixes for Amarok 1.4
- progress bar on the offline version
- use large images when available

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

(CopyCover AmaroK plugin)
Send to a friend
Other  Apps  from gauret
Report inappropriate content

goto page: prev   1  2  3  4  5  6  7  8  9  10  11 



 by robert3208 on: Oct 20 2006
Score 50%

I've tried to use copycover-offline and there's still the ./ issue. Haven't tried copycover yet.

My dirty workaround is to chop off the dot at the beginning (in the copycover function):

destination = destination[1:len(destination)]

What's this ./ thing good for anyway?


Reply to this


 Re: ./

 by Saturday on: Jan 21 2007
Score 50%

Where exactly do I have to put that definition?

Reply to this


 Spaces in filenames

 by gmichels on: Oct 24 2006
Score 50%

I started using your script at version 1.6 and it was working wonders. The only feature I was missing was copying the large cover instead of the 150x150 one. Now I've seen that feature has been added to v1.7, thanks a lot!

I upgraded and it's working nicely, however now the filenames of the copied covers (I use the album name) don't have spaces when the album has several words, it just gets concatenated. Like this:

Album: How To Dismantle An Atomic Bomb

The cover filename: HowToDismantleAnAtomicBomb.png

With v1.6, the cover filename had spaces as the album name.

Am I the only one with this problem?


Reply to this


 Re: Spaces in filena

 by xhorder on: Nov 12 2006
Score 50%

I actually had this problem too, but with 1.6. (I currently can't get offline 1.7 to work)

Reply to this


 mountpoint patch

 by goo on: Nov 23 2006
Score 50%

--- copycover-offline.py Thu Oct 19 14:28:42 2006
+++ /home/tester/.kde/share/apps/amarok/scripts/copycover/copycover-offline.py Thu Nov 23 22:29:35 2006
@@ -109,8 +109,7 @@
inc = inc + 1
if inc >= len(progress):
inc = 0
- dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, tags.dir FROM tags, album ''' \
- +'''WHERE tags.album = album.id AND album.name != '' AND tags.artist = %s"''' % artist_tuple[0])
+ dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, concat( devices.lastmountpoint, '/', tags.dir ) FROM tags, album, devices, directories WHERE tags.album = album.id AND album.name != '' AND directories.dir = tags.dir AND directories.deviceid = devices.id AND tags.artist = %s"''' % artist_tuple[0])
if not dcop_albums:
albums = associateResults2(dcop_albums)
@@ -126,7 +125,7 @@
if options.verbose:
print " Cover Found !"
do_copy = True
- for file in os.listdir(album_tuple[1][1:]):
+ for file in os.listdir(album_tuple[1]):
if file[-4:] in [".jpg", ".png", ".gif"]:
do_copy = False
if do_copy:

Reply to this


 Re: mountpoint patch

 by comeon on: Dec 7 2006
Score 50%

after patching i get:

IndentationError: unindent does not match any outer indentation level

Reply to this


 suse 10.2 rc1

 by patrickweb on: Nov 28 2006
Score 50%

i have little prob :
on suse 10.2 rc1 i use complete HD in /mp3, i try to run copycover but i already have this message :

The script 'Copy Cover' exited with error code: 1

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
copycover.py: cannot connect to X server :0.0

thanks you for help

Reply to this



 by bugmenot on: Jan 4 2007
Score 50%

I almost had an hearth attack. It worked fine with a few changes, but suddenly kde didn't see anymore any of my songs...
They are there, ls lists them all. Phew.

I'm using amarok 1.4.4, and my library is in /home/user/music. Your offline script tried to write in /user/music/.

I did a quick change to add /home, I'm not posting the diff because that's a dirty hack and will work just for me. Anyway, I think it would be easy to fix it in a clean way.


Reply to this


 Re: dying

 by frenchrh on: Jan 10 2007
Score 50%

I'm using Amarok 1.4.4 in KDE 3.5.1a in OpenSuse 10.1, and copy cover, did save one .png cover art file in my correct music directory when I played the song. But its never saved another cover art file. And I don't understand how to run the offline version of the program.

Reply to this


 Stopped working

 by jcconnor on: Feb 10 2007
Score 50%

Looks like the new 1.4.5 Amarok and the use of PyQT 4 has messed up the script. Just checking to see if there is a fix in the works or if there is any way for me to fix it?

Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11 

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.