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   


- Content .- Fans  .- Knowledge Base  . 



Amarok Script

Score 72%
Link:  http://
Downloads:  1571
Submitted:  Mar 31 2008
Updated:  Jul 6 2008


EmbedCover is a script for embedding album cover images in MP3 files. The script will automatically look up the image associated to it in amaroK and embed this image into the file.

- If the file already had image inside, it will be overwritten.
- This operation is NOT reversible


Fix for VA/Compilation tracks

Support for ID3v2.3 & ID3v2.4 (Tags with ID3v2.3's frame size will be converted to ID3v2.4 format).
Tags prior to ID3v2.3 are not supported.

1. Overwrite image if the type is "cover (front)" (0x03) or "other" (0x00) -> changed because many MP3 files do not conform ID3 tag frame rules...
2. Simplified output/error messages

Send to a friend
Other  Apps  from knightrider
Report inappropriate content

goto page: prev   1  2 


 Err+fix for "Various Artists"

 by poe84it on: Jul 4 2008
Score 50%

amarok stores the cover in the DB as an md5 on a composition of the name of the artist + name of the album, but if an album is catalogued as "various artists", is instead stored an md5 only on the name of the album. This causes an errorr in the script that does not find the image with the "correct" name. A good fix would be to control the field "sampler" in the table "tag", such a way to adapt successfully the string for the MD5.

I've fixed thath in this way in my local copy:

#that's the original
artist_id = `dcop amarok collection query "SELECT DISTINCT artist FROM tags WHERE url = '#{dcopfile}'"`.chomp()
artist = `dcop amarok collection query "SELECT DISTINCT artist.name FROM artist WHERE id = '#{artist_id}'"`.chomp()
album_id = `dcop amarok collection query "SELECT DISTINCT album FROM tags WHERE url = '#{dcopfile}'"`.chomp()
album = `dcop amarok collection query "SELECT DISTINCT album.name FROM album WHERE id = '#{album_id}'"`.chomp()

#and i've added that
is_in_VA = `dcop amarok collection query "SELECT DISTINCT sampler FROM tags WHERE url = '#{dcopfile}'"`.chomp()

#and modify this

#md5sum = MD5.hexdigest( "#{artist.downcase()}#{album.downcase()}" )

#in that
if is_in_VA == "1"
md5sum = MD5.hexdigest( "#{album.downcase()}" )
md5sum = MD5.hexdigest( "#{artist.downcase()}#{album.downcase()}" )

#end mod

I hope to be helpful

Reply to this


 Destination file not writable

 by ghanarama on: Jul 13 2008
Score 50%

Great script! For some reason when my files are located on a CIFS-mounted drive I get a "Destination file is not writable" error when I try to embed. Amarok itself, however, has no problem modifying tags on this same drive. Any ideas?

Reply to this


 Cannot embed custom cover

 by rain84src on: Aug 12 2009
Score 50%

based on what i've understood of your plugin, it make use on the image database that amarok keeps for album arts...so i've tried to embed some album arts that i've set as custom cover providing an image from my hard disk...and indeed the script says that there aren't any image associated with that file..i guess that this means that amarok doesn't store custom cover in its database or maybe can be due to something else? Any solution possible for this?

Reply to this


 Re: Cannot embed custom cover

 by knightrider on: Aug 23 2009
Score 50%

right click > edit track(s) info > check on [each track] > summary > right click on cover icon > set custom cover > select your custom cover > save & close


right click > EmbedCover > DoIt!

Reply to this


 Amarok 2.2

 by chrisvdb on: Dec 3 2009
Score 50%


Does this script work with Amarok 2.2?

When I installed the script I received a success notification, but after restarting the script does not show as installed and the context menu did not change.

Is this normal behavior under 2.2?


Reply to this


 Re: Amarok 2.2

 by knightrider on: Feb 21 2010
Score 50%

This script is designed for Amarok 1.4. Its behaviour on Amarok 2.x is unknown. Amarok 2.x is still buggy & many features disappeared, and I don't feel like migrating my script until Amarok 2.x got stable.

Reply to this

goto page: prev   1  2 

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.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

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