Warning: session_start(): open(/tmp/sess_ckm8dc1tmgitoo553s0ur8pcl1, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
CopyCover (amaroK Script) openDesktop.org
-
 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   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


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

CopyCover (amaroK Script)

   1.9  

Amarok Script

Score 82%
CopyCover (amaroK Script)
zoom


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

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 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.




Changelog:

ChangeLog:
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




LicenseGPL
(CopyCover AmaroK plugin)
Send to a friend
Subscribe
Other  Content  from gauret
Report inappropriate content



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

-
.

 Trouble with the offline

 
 by gentiL on: Dec 14 2008
 
Score 50%

Thanks for the script. The part integrated with Amarok works great.

My problem is with the offline version.
It does something and I have tried with both -d and -v to see but it does not copy the files over to the destination.
It just says processing artists... and their names.

I have python 2.5.2 and Amarok 1.4.10.

I also tried adding -c folder.jpg

Am I doing something wrong?

Thanks!


Reply to this

-

 Re: Trouble with the offline

 
 by j4n on: Dec 30 2008
 
Score 50%

No, I had the same issue. After some twiddling I found the problem: the script uses the "CONCAT" function, which sqlite does not provide- maybe the author uses mysql?
Here is a patch (replaces CONCAT (foo,bar)' with 'foo || bar').
Copy to file bar.patch and apply with patch -p0 bar.patch.

paste below sucks, no code format possible here, so grab it here: http://pastebin.com/f5e7bcc5f
Quote:

--- copycover-offline.py.org 2008-12-29 21:50:41.000000000 -0500
+++ copycover-offline.py 2008-12-29 22:01:40.000000000 -0500
@@ -116,7 +116,7 @@ for artist_tuple in artists:
inc = inc + 1
if inc >= len(progress):
inc = 0
- dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, CONCAT(devices.lastmountpoint,'/',tags.dir) FROM tags, album, devices ''' \
+ dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, devices.lastmountpoint || '/' || tags.dir FROM tags, album, devices ''' \
+'''WHERE tags.album = album.id AND tags.deviceid = devices.id AND album.name != '' AND tags.artist = %s"''' % artist_tuple[0])

if not dcop_albums:


Reply to this

-

 Porting to Amarok2

 
 by rakekniven on: Dec 31 2008
 
Score 50%

Please port the script for Amarok 2

Thank you


Reply to this

-

 Re: Porting to Amarok2

 
 by Takahani on: Jan 12 2009
 
Score 50%

Hi,

I'm trying to write exactly the same script using qtscript, let U know when it's finished ...


Reply to this

-

 Re: Re: Porting to Amarok2

 
 by arealityfarbetween on: Jan 26 2009
 
Score 50%

Any advance on this? I would be very interested in this as i just did a distro upgrade and was looking forward to amarok 2-plays nice but copycover is essential to me!


Reply to this

-

 Re: Re: Re: Porting to Amarok2

 
 by Takahani on: Jan 26 2009
 
Score 50%

Yo,

Right now it can retrieve the current album url, problem is we'll have to wait for amarok 2.1 because the script API has been extended just for this functionnality, and this will be available for everybody only at this stage (2.1) ...
But I'll post here when it'll be finish


Reply to this

-

 Re: Porting to Amarok2

 
 by mahen on: Apr 30 2009
 
Score 50%

Yep, I would also definitely be interested in an Amarok 2 port of this essential script.


Reply to this

-

 Dynamic Collections

 
 by tecuya on: Jan 10 2009
 
Score 50%

This script does not work with amarok's Dynamic Collection feature.

The following change (removing the devices table from the query) solves the issue for dynamic collection devices:



Quote:

--- copycover/copycover-offline.py 2007-10-21 07:04:22.000000000 -0700
+++ copycover_mine/copycover-offline.py 2009-01-09 15:52:05.000000000 -0800
@@ -116,8 +116,9 @@
inc = inc + 1
if inc >= len(progress):
inc = 0
- dcop_albums = commands.getoutput('''dcop amarok collection query "SELECT DISTINCT album.name, CONCAT(devices.lastmountpoint,'/',tags.dir) FROM tags, album, devices ''' \
- +'''WHERE tags.album = album.id AND tags.deviceid = devices.id AND album.name != '' AND tags.artist = %s"''' % artist_tuple[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])

if not dcop_albums:
continue


Reply to this

-

 ubuntu

 
 by hachel on: May 21 2009
 
Score 50%

I have a gnome-desktop and I can't get it to work. I had to install pyqt3 otherwise it wouldn't start.
Is there anything I have to install in order to use the offline-script?
It just does this:
Quote:
$ python copycover-offline.py -c cover.jpg
copycover-offline.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Done.

and there is a rotating little bar for a couple of seconds until it says "done",
but nothing has happened, cover-wise.
any help?


Reply to this

-

 Re: ubuntu

 
 by hachel on: May 21 2009
 
Score 50%

ok, if I use -v i get all the "processing artist xxx"-stuff, but that's it, changing the script like j4n said doesn't work either, same as before.


Reply to this

-

 port to amarok2

 
 by garthps on: Oct 4 2009
 
Score 50%

Is there any news about this?
Because I am rely interested. I have also email the author to aske him if he plan this..


Reply to this

-

 Re: port to amarok2

 
 by garthps on: Oct 23 2009
 
Score 50%

in fact! I have done a clone of this for amarok 2 and it is here : http://www.kde-apps.org/content/show.php?content=113293


Reply to this

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

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team