Warning: session_start(): open(/tmp/sess_dv763clrurs86nsp5dhqrkj873, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
EmbedCover 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  .- Knowledge Base  . 

EmbedCover

   0.7.6  

Amarok Script

Score 72%
knightriderknightrider
AreMa Inc.
Home
Link:  http://
Downloads:  1605
Submitted:  Mar 31 2008
Updated:  Jul 6 2008

Description:

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.

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




Changelog:

v0.7.6:
Fix for VA/Compilation tracks

v0.7.5:
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.

v0.7.4:
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




LicenseGPL
Donate
Send to a friend
Subscribe
Other  Content  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()}" )
else
md5sum = MD5.hexdigest( "#{artist.downcase()}#{album.downcase()}" )
end

#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%

Hi,
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%
knightriderknightrider
AreMa Inc.
Home

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

then

right click > EmbedCover > DoIt!


Reply to this

-

 Amarok 2.2

 
 by chrisvdb on: Dec 3 2009
 
Score 50%

Hi,

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?

Thanks,
Chris.


Reply to this

-

 Re: Amarok 2.2

 
 by knightrider on: Feb 21 2010
 
Score 50%
knightriderknightrider
AreMa Inc.
Home

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




-



 
 
 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