-
 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 (6) .- Knowledge Base  . 

CopyCover2

   1.4.4  

Amarok 2.0 Script

Score 87%
CopyCover2
zoom


Minimum required   Qt 4.x
Downloads:  1118
Submitted:  Oct 7 2009
Updated:  Apr 9 2012

Description:

Copy the cover of current playing track to the song's dir using Amarok'one fetched.
It does not overwrite existing images in place.


TODO:
-still more translations! (contact me to help!)
-add an option to set the cover as default icon of the folder
-check if the current folder's name is the same as the album name for varius artist album.

PS:Originaly inspired from one of my favorits Amarok1.4 script http://www.kde-apps.org/content/show.php/CopyCover+%28amaroK+Script%29?content=22517.




Changelog:

Version 1.4.4 :
- added Russian translation thanks to Konstantin Duderskii (dooder) !

Version 1.4.3 :
- added Czech translation thanks to Pavel Fric! (updated spanish one thanks to Juan Chak).

Version 1.4.2 :
- fix unsupported yet language so that It will still launch the English version. Thanks to Tim Ruffing for his attention and his patch for that!

Version 1.4.1 :
- small french update

Version 1.4 :
-More translations,specially the UI.. : full english, spanish and french.
-Check for the extension of the source image and respect it.
Huge thanks to Juan Chak for his help on this release (mostly his changes)

Version 1.3.1
-add a link to this Website in the about dialog

Version 1.3
-small bugfix for the fixname

Version 1.2
-added an UI to let the user chose the name of the created file
-can now use dynamic names (ie from current album and artist)

Version 1.1
-added a verification..
-French translation (so hard! :p)

Version 1.0
-first fully functional version - zero options




LicenseGPL
(CopyCover2.amarokscript.tar.gz)
Donate
Send to a friend
Subscribe
Other  Apps  from garthps
Report inappropriate content



goto page:  1  2 

-

 On git already

 
 by Takahani on: Oct 7 2009
 
Score 50%

Salut Sylvain ;)

Check there :
http://gitorious.org/amarok/amarok/trees/master/playground/src/scripts/copycover

It has been done already, with a config UI etc ...

I just was to lazy to create a tar.gz :p

Maybe you can make a mix of both code and publish it in here. The basic for the ui works just need some more extension, especially I would like it to automatically write the cover when we've downloaded one ...

Maybe we can discuss about that on irc (#Takahani)

Thanks
- Simon


Reply to this

-

 Re: On git already

 
 by garthps on: Oct 7 2009
 
Score 50%

ok .... bouuu
could n't you post it!?!!
tss :p
I will contact you
CU


Reply to this

-

 Re: Re: On git already

 
 by Takahani on: Oct 8 2009
 
Score 50%

No pb, we can group the effort !
copycover FTW :)


Reply to this

-
.

 Re: Re: Re: On git already

 
 by gauret on: Mar 31 2010
 
Score 50%

Hi guys,

I'm the original author of the CopyCover script for Amarok 1.4.

I didn't have a need for it these last years, that's why I never ported it to Amarok 2.

This weekend, I suddendly needed it, so I said to myself "why not use this occasion to port CopyCover to Amarok2, at long last ?".

I just spent the last 5 days learning QTJambi and the Amarok APIs. Now that I have finished porting the script, I come here to update the page (feeling like I did a good deed) and find this...

Not only had someone already done the work, but TWO people had ported the script already !!

Please give me a few minutes while I jump from the nearest building.

Seriously, I'm deeply sorry for not porting the script earlier and causing you guys to do duplicated work.

I was going to upload my version to Gitorious, maybe there's something to salvage nonetheless ? I'll go and do that, you'll tell me if it's worth something.

Thanks to you for doing what I've been too lazy to do for 2 years.

If that doesn't teach me to do my research before picking up any significant piece of work...

By the way, funny thing that we're all french :)


Aurélien
Reply to this

-

 Re: Re: Re: Re: On git already

 
 by gauret on: Apr 1 2010
 
Score 50%

Uploaded to Gitorious, the project is here: http://gitorious.org/copycover.


Aurélien
Reply to this

-

 Re: Re: Re: Re: Re: On git already

 
 by garthps on: Apr 1 2010
 
Score 50%

Hi Aurélien!
First of all thank you for your original work!
Then, yeah always search if it has not already been done! Me I had an excuse , Takahani did not put it public! :p
But at least we could with our 3 much less free time do make it better.
I will check out your code this evening to see what is the best move to do.
Personally my script can be improved but I don't have much time for that. So perhaps we tree of us can do it :)
CU


Reply to this

-
.

 .png or .jpg ?? BUG !

 
 by xro on: Nov 29 2009
 
Score 50%

Takahani version always uses .png as extension, while garthps's version always uses the .jpg extension.

Unfortunately my amarok albumcovers directory contains both pngs and jpgs, and whenever CopyCover2 copies the file with the wrong extension, Amarok will discover the new "cover" file in the directory, discover it can't read it (content != suffix) and thus _unset_ the album icon in the amarok db !!!


Reply to this

-

 Re: .png or .jpg ?? BUG !

 
 by garthps on: Nov 29 2009
 
Score 50%

Are you sure that Takahani's version deals with JPG??? anyway, I hae always wrote that in my todolist..."-Check for the format of the source image"
I will see what I can do


Reply to this

-

 Re: Re: .png or .jpg ?? BUG !

 
 by xro on: Nov 29 2009
 
Score 50%

thanks :)

easiest way would propably be to read the first 8 bytes of source image and check against png magic sig. that way no libs are necessary..


Reply to this

-

 Re: Re: .png or .jpg ?? BUG !

 
 by garthps on: Nov 29 2009
 
Score 50%

eu sorry.. in fact if I use always jpg because amarok's fetched image ARE jpg's, you can check it. But it is also right that it is the case with a fresh install f amarok on a fresh account so perhaps in some cases..
Anyway checking for the real format is a good thing to do :)


Reply to this

-

 Re: .png or .jpg ?? BUG !

 
 by leonardodaronco on: May 8 2010
 
Score 50%

Well, I don't know if it happens for the same reasons, but Amarok keeps unsetting the covers when I use this script.

It seems like it's happening when I don't have the cover.jpg file and the script creates it. Amarok unsets the cover and I have to fetch it again.

And thanks for the script :)


Reply to this

-

 Re: Re: .png or .jpg ?? BUG !

 
 by garthps on: May 8 2010
 
Score 50%

Hi,
If I understand, you don't get right how the script works:
If amarok has a cover
verify if this cover is from amarok's directory (fetched one) or if is from the song's directory.
If it from the song's directory
then do nothing
if it is a fetched one
then move it to the song's directory

So in your case, if amarok does not have a cover then it does nothing! It does not create a cover! It only moves what amarok had found.
What it can occurred is that just after my script had move the cover, then amarok is confused for a few seconds... but that is all for me.
I am not sure to understand if it is what you mean
CU


Reply to this

-
.

 Bugtracker

 
 by Mamarok on: Jan 8 2010
 
Score 50%

Hi Sylvain,

I was made aware that you ask people to report bugs to http://bugs.kde.org in the "About " dialog, but you don't have your product registered there.

Please either register your product on http://bugs.kde.org, or handle bug reports here, but we can't accept bugs for 3rd-party scripts to be filed against Amarok, since we do not maintain these.


Reply to this

-

 Re: Bugtracker

 
 by garthps on: Jan 8 2010
 
Score 50%

Hi!
Your are completely right..
I did not loot at this close enough...
Now, how do I do to register an app on bugs.kde.org? (already have an account)
thx cu


Reply to this

-

 Re: Re: Bugtracker

 
 by Mamarok on: Jan 8 2010
 
Score 50%

I suggest to submit a request to the system administrators of the bugtracker: https://bugs.kde.org/enter_sysadmin_request.cgi

In case this doesn't work, you should include the link to this website in the About dialog, so people could get in touch with you directly


Reply to this

-

 Re: Re: Re: Bugtracker

 
 by garthps on: Jan 10 2010
 
Score 50%

Ok, so I have changed the link in the about dialog. It is a shame that there is no X-KDE-PluginInfo-BugReport= available...
Thanks ,
CU


Reply to this

-

 Bulk or offline copy?

 
 by mbrady on: Jan 16 2010
 
Score 50%

Any chance of there being an option to copy the already downloaded album covers in bulk? Or even just a script to do it outside of Amarok.


Reply to this

-

 Re: Bulk or offline copy?

 
 by garthps on: Jan 16 2010
 
Score 50%

can you explain a bit please?
thx


Reply to this

-

 Re: Re: Bulk or offline copy?

 
 by mbrady on: Jan 17 2010
 
Score 50%

I have a couple of hundred albums with cover art already loaded in Amarok. The original CoverCopy had a script that could be run to copy all that cover art to cover.jpg in one go with out having to play a track to do it. I was looking for the same functionality.


Reply to this

-

 Re: Re: Re: Bulk or offline copy?

 
 by garthps on: Jan 18 2010
 
Score 50%

ok thanks I understand now:
a "oneclick" button for all temporary covers
But I think I don't have tool to do that right now..
I mean as far as I know I don't have amarok's method to receive the name of the corresponding album to a temporary cover. For the moment I can just now it because :
I test if amarok has a cover for the current track,
if it does, I know the destination because i know the current track but that is all! so no method to parse all temporary cover and ask for the corresponding album.
Sorry!
When I will have some time I will look after the translation.
CU


Reply to this

-

 Folder icon

 
 by torturedutopian on: Feb 12 2010
 
Score 50%

Hi ! First, thanks for this nice script.

I have one question though : would it be possible to add the option that used to be in the former copycover script, that set the directory icon to the cover file ?

Cheers !


Reply to this

-

 Re: Folder icon

 
 by garthps on: Feb 13 2010
 
Score 50%

I tried to do this this evening.. but can't manage to write a file with this script language(if some body know..)
one day...


Reply to this

-
.

 Not working

 
 by tameboy on: Mar 24 2010
 
Score 50%

I had this script installed and working fine. Now it doesn't seem to work. It appears to be installed and enabled, but it doesn't copy the cover into the directory any more.

I am using Amarok 2.2.2 on Fedora 12 - using KDE 4.4.1. I seem to remember there being a major KDE update in my packagekit updates recently - I wonder if that caused a problem?


Reply to this

-

 Re: Not working

 
 by garthps on: Mar 24 2010
 
Score 50%

Hum.. I don't know..
I will check it on my laptop.
I have amarok 2.3 and kde4.4.1 and I did not check my script since those upgrades.
I will let you know (with at least a way to check that why)
CU


Reply to this

-

 Re: Re: Not working

 
 by tameboy on: Mar 24 2010
 
Score 50%

let me know if I can help with any testing


Reply to this

-

 Re: Re: Re: Not working

 
 by garthps on: Mar 28 2010
 
Score 50%

Ok I have just tested it and it still works for me.
So we could try somethings.
Canyou send me a private message? it will be easier


Reply to this

goto page:  1  2 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

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.