
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
8 years ago
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
8 years ago
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
eijk
8 years ago
Report
djbridges
10 years ago
Thanks in advance.....
Report
garthps
9 years ago
Report
djbridges
9 years ago
Thanks for looking into this though - appreciate it.
Report
garthps
9 years ago
Report
HessiJames
10 years ago
i'm using the current git version of amarok and the cover dosen't get copied.
i added a debug output in 'function copycover()':
Amarok.debug("from: "+Amarok.Engine.currentTrack().imageUrl.replace('file://',''));
and the result is:
SCRIPT "CopyCover2" : "from: amarok-sqltrackuid://d040204a7e3be97f290d3ced24b5962b"
Report
denisq
10 years ago
could you please implement a check if the current folder's name is the same as the album name in the metadata of the currrrent track?
So the script would only copy to that destination if the folder is a full album. It would prevent copying the cover if the current track is one file in a mixed/various artists folder.
Report
garthps
10 years ago
thanks for this repport. I clearly understand your idea.
But I don't have a lot of time currently...
I will do my best.
cu
Report
denisq
10 years ago
Report
tameboy
10 years ago
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?
Report
garthps
10 years ago
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
Report
tameboy
10 years ago
Report
garthps
10 years ago
So we could try somethings.
Canyou send me a private message? it will be easier
Report
torturedutopian
11 years ago
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 !
Report
garthps
11 years ago
one day...
Report
mbrady
11 years ago
Report
garthps
11 years ago
thx
Report
mbrady
11 years ago
Report
garthps
11 years ago
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
Report
Mamarok
11 years ago
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.
Report
garthps
11 years ago
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
Report
Mamarok
11 years ago
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
Report
garthps
11 years ago
Thanks ,
CU
Report
xro
11 years ago
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 !!!
Report
leonardodaronco
10 years ago
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 :)
Report