-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


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

CopyCover (amaroK Script)

   1.9  

Amarok Script

Score 82%
CopyCover (amaroK Script)
zoom


Link:  http://
Downloads:  21649
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  Apps  from gauret
Report inappropriate content



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

-

 1.4.7+sqlite

 
 by sevrx on: Dec 16 2007
 
Score 50%

seems like it does not work with amarok 1.4.7 and sqlite.
i see the "processing artist" strings, but covers are not copied to folders or deleted from cache.


Reply to this

-

 perfect!!!

 
 by nxt on: Dec 22 2007
 
Score 50%

thanks, perfect script. Just one minor suggestion: maybe you could add an option for one time run through the whole collection, instead of copying just the cover of currently played song...


Reply to this

-

 Re: perfect!!!

 
 by richlv on: Jan 3 2008
 
Score 50%

well, it is there already :)
script archive contains :
copycover-offline.py
this will run through your collection and copy everything.
whether it works with the latest amarok version i'm not sure.


Reply to this

-
.

 1.4.7 + SQLite

 
 by DASGiB on: Feb 1 2008
 
Score 50%

To make the "copycover-offline.py" script work with AmaroK 1.4.7 and SQLite you need to modify the script a bit. The SQL CONCAT() function is not supported in SQLite, so you have to use the || operator:

Open the script (~/.kde/share/apps/amarok/scripts/copycover/copycover-offline.py) in your favorite editor , go to line 124 and change:

SELECT DISTINCT album.name, CONCAT(devices.lastmountpoint,'/',tags.dir) FROM

to:

SELECT DISTINCT album.name, devices.lastmountpoint || '/' || tags.dir AS dir FROM

That's it. Now start AmaroK and run the script in debug mode (no files will be copied):

python copycover-offline.py -d -v -c cover.png

This would create a file called "cover.png" in every album directory (of course only if you have set a album in AmaroK ;-).

When the result is fine run the script again, but without the -d switch:

python copycover-offline.py -v -c cover.png


Reply to this

-

 Re: 1.4.7 + SQLite

 
 by zerqent on: May 13 2008
 
Score 50%

Confirming this fix with PostgreSQL 8.2 on Ubuntu Hardy as well. Amarok 1.4.9.1


Although there is no point in selecting AS dir though.

SELECT DISTINCT album.name, devices.lastmountpoint||'/'||tags.dir FROM

is enough =)


Reply to this

-

 List index error

 
 by Shortie on: Feb 28 2008
 
Score 50%

I'm getting this while running the offline script (the same as running in normal mode)

Running in debug mode. No change will be done.

Traceback (most recent call last):
File "copycover-offline.py", line 105, in <module>
artists = associateResults2(dcop_artists)
File "copycover-offline.py", line 73, in associateResults2
results.append( (output_list[i], output_list[i+1]) )
IndexError: list index out of range


Reply to this

-

 Re: List index error

 
 by Shortie on: Mar 4 2008
 
Score 50%

I GOT IT (no phyton knowledge to me^^ and very few bout programming and linux)

The problem was in the dcop command reporting an error bout a different program.

Now it works good!!


Reply to this

-

 MySQL+1.4 offline pr

 
 by fernandosanchezmunoz on: Mar 25 2008
 
Score 50%

Hi all,

I'm running Amarok 1.4 with MySQL in an Ubuntu Gutsy and can't get the offline script to work. I see the "processing artist" messages but nothing is copied in the album folder.

I've seen in previous posts that this was supposed to be related to a change required in the script to CONCAT from || but the version I've downloaded has this changed already and still doesn't work.

Any hints? anyone got it working with this configuration?

thanks a lot


Reply to this

-
.

 Re: MySQL+1.4 offlin

 
 by fernandosanchezmunoz on: Mar 25 2008
 
Score 50%

UPDATE:

reinstalled amarok with a fresh MySQL database and worked like a charm. Problems were probably due to a corrupted dB.

Thanks to the developer and congratulations for an extremely useful peace of software.

Anyone for a script embedding the cover into the tag of the mp3 file? :-)


Reply to this

-

 Amarok 1.4.9.1&SQLIT

 
 by stillingen on: Apr 24 2008
 
Score 50%

I have Amarok 1.4.9.1 (Ubuntu Hardy) running Sqlite. I've done the modifications to copy-offline.py but the covers are not copied. Are there other modifications needed to my version of Amarok?


Håkon
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.

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

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

Copyright 2003-2014 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.