Warning: session_start(): open(/tmp/sess_2t7gsaqf3lkivbkktclc0sti53, 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) . 

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   1  2  3  4  5  6  7  8  9  10  11 

-

 crash

 
 by bugmenot on: Feb 20 2007
 
Score 50%

$ python copycover-offline.py -dv -c cover.jpg
Running in debug mode. No change will be done.

Processing artist: A...
Album: Exit Stage Right... (0)
Album: Vs. Monkey Kong... (0)
Cover Found !
Traceback (most recent call last):
File "copycover-offline.py", line 129, in ?
for file in os.listdir(album_path):
OSError: [Errno 2] No such file or directory: '0'

Amarok 1.4.5, KDE 3.5.6, Gentoo


Reply to this

-

 Re: crash

 
 by gauret on: Feb 21 2007
 
Score 50%

Do you really have an artist called "A" in your collection ? Who could that be ?

Could you paste a sample of the following command please ?
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 = A"

Thanks


Reply to this

-

 Re: crash

 
 by xrx on: Feb 24 2007
 
Score 50%

I have the same problem, same amarok, and same kdeversion.

Pantheon 11:47:54 copycover $ ./copycover-offline.py -r -d -v
Running in debug mode. No change will be done.

Processing artist: ASP...
Album: Ich Bin Ein Wahrer Satan [4xSingle]... (0)
Cover Found !
Traceback (most recent call last):
File "./copycover-offline.py", line 129, in ?
for file in os.listdir(album_path):
OSError: [Errno 2] No such file or directory: '0'
Pantheon 11:47:58 copycover $


Reply to this

-

 Re: Re: crash

 
 by xrx on: Feb 25 2007
 
Score 50%

Pantheon 10:22:20 ~ $ 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 LIKE ASP"

Pantheon 10:23:32 ~ $


Reply to this

-

 little bug

 
 by animimotus on: Mar 2 2007
 
Score 50%

Nice script but a little crash today:

The CopyCover amaroK script has run into an unhandled error. I'm sorry about it, but please tell me about this error, and help improve the script !
The error message was:
list index out of range
Please look at the end of your ~/.xsession-errors file for error messages too. Thanks.

Thx for this amaroK feature ;)


Reply to this

-

 copycover-offline.py

 
 by milianw on: Mar 5 2007
 
Score 50%
milianwmilianw
KDevelop / Kate
Home

Hey, I tried to use your copycover-offline.py script but it did not work for me! The MySQL command returned 0 instead of the dir, and I really don't know how your command should work...

Here's my patched version:

http://milianw.de/misc/copycover-offline.py

Here's the diff:

http://milianw.de/misc/copycover-offline.diff

Have a look on it and tell me if this is the intended behavior! It works well for me now.

It's my first time with python and I have to say, I don't like its syntax at all :)

I think I'll now write a little bash script to convert those covers to 50x50 bmps for RockBox.


Reply to this

-

 Re: copycover-offlin

 
 by gauret on: Mar 5 2007
 
Score 50%

Ah, that's interesting. Are you using MySQL as a backend ? Do all those who see this "0-as-a-dir" bug use MySQL too ?


Reply to this

-

 Re: Re: copycover-of

 
 by milianw on: Mar 5 2007
 
Score 50%
milianwmilianw
KDevelop / Kate
Home

yes I use MySQL. Hmm... this might indeed be the problem! It did not even cross my mind that you could use sqlite or postgresql as well!
I fear my query might be very MySQL specific.

I have not used the other ones(for programming yet so I don't know about any differences in their syntax.


Reply to this

-

 Re: Re: copycover-offlin

 
 by richlv on: Jun 27 2007
 
Score 50%

using latest amarok with mysql & copycover, i also get the same error with offline script.

running the normal script only produces repeated errors (empty ones...)

amarok: [ScriptManager] [ERROR!] Copy Cover:
amarok: [AmaroK CopyCover Script] Received notification: playlistChange: changed
amarok: [ScriptManager] [ERROR!] Copy Cover:
amarok: [AmaroK CopyCover Script] Received notification: engineStateChange: playing
amarok: [ScriptManager] [ERROR!] Copy Cover:

could this be because of incompatibility with mysql, too ?

also, configuration has : "Remove from amaroK's cache after copy" - this probably should be changed to "Amarok's" ;)


Reply to this

-

 Re: copycover-offline.py

 
 by xrx on: Mar 6 2007
 
Score 50%

tnx millianw. This fixed the zero bug for me!


Reply to this

-

 Merci beaucoup!

 
 by cost-reduction on: Apr 11 2007
 
Score 50%

Thanks!

I'm using MySQL as backend.

The patched script solved the same issue for me, too!

I'm using MySQL as backend


Reply to this

-

 Period Bug?

 
 by aaronm67 on: Jul 21 2007
 
Score 50%

It looks like there may be a bug with periods in the names? I saw a comment earlier that someone was having trouble finding artist "A", the artist was probably "A.F.I" or something like that. My script ran and stopped on "O.A.R." because it was looking for artist "O".


Reply to this

-

 Re: Period Bug?

 
 by aaronm67 on: Jul 21 2007
 
Score 50%

You can ignore that, that wasn't the problem.


Reply to this

-

 Thanks for good stuf

 
 by enaut on: Jul 24 2007
 
Score 50%

I really love this extension!

But I also have some suggestions to make it even better!

1. It would be cool to copy all covers of the entire Collection into the matching folders by selecting it in a contextmenu or something like that.

2.I have the problem, taht I like the strukture: "/albumname/CD x/files" copycover always puts the cover into the first CD folder and changes the icon of it and not the Album folder. - It would be really great to have that thing working - even though I by myself don't know how to solve the problem.

So if you can find any time it would be really great!

mfg enaut


Reply to this

goto page: prev   1  2  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