-
 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  . 

AutoFetchCover_CN

   0.11  

Amarok Script

Score 59%
CuteRabbitCuteRabbit
Fudan University
Home
-
Xu Kun 0

Fudan University
China, Shanghai
Last visit May 9 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--
Link:  http://
Downloads:  555
Submitted:  May 4 2007
Updated:  Dec 4 2007

Description:

Everyone knows that Amarok has provided the function of downloading album covers from amazon.com.
But for most albums of Chinese artists,it doesn't work at all.
I often get bored when I search for hundreds of album cover images manually.
So I wrote this script to automatically fetch album cover images of Chinese artists from http://www.douban.com.


Usage:
Just install the script with Amarok Scripts Manager and run it.
Then it will fetch cover image of your current playing track in background if any image can be found.

Dependencies:
Amarok>=1.4
Python>=2.3

Note:

I'a freshener of python,and this is my first open source package. I'm not sure this script will run properly at every situation all the time.

There are some known problems:
*The cover image won't be loaded until the next time the same album plays.
*Album cover image with its artist name containing dots may not be fetched.(Such as "S.H.E" or "F.I.R")
*Album cover image with its album name containing spaces may not be fetched.(Such as "A Perfect Day")
I am busy preparing for CET6 of this summer,and will spare no time going on with this work for several months. I will be very glad if someone would like to solve these problems and improve this script.

However,a lot of Chinese album cover images can be automatically fetched now if you set the mp3 tags with correct artist and album names. It will NOT overwrite an existent image if you have set the cover image manually.
Finally,I have to say,sorry for my poor English.




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from CuteRabbit
Report inappropriate content



-

 amazing app

 
 by sanfanling on: May 4 2007
 
Score 50%

I like it


Reply to this

-

 :)

 
 by hsys on: May 9 2007
 
Score 50%

nice script :)

a bug: it will overwrite my existent image if i do not set the image manually but simply put my own image into music folder(amarok will load it automatically)


Reply to this

-

 Re: :)

 
 by CuteRabbit on: May 9 2007
 
Score 50%
CuteRabbitCuteRabbit
Fudan University
Home
-
Xu Kun 0

Fudan University
China, Shanghai
Last visit May 9 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I dont't know how a image is recognized as cover image by amarok yet.Will you provide me some more information?Such as,what's the file name of your image?Is it named "cover.jpg" or other?


Reply to this

-

 Re: Re: :)

 
 by hsys on: May 9 2007
 
Score 50%

any file name is OK, as long as it is a image file

amarok will search image files in the same folder i place my music file in, and then pick one(i don't know which one it uses exactly) to be the album image automatically.


Reply to this

-

 Re: Re: Re: :)

 
 by CuteRabbit on: May 9 2007
 
Score 50%
CuteRabbitCuteRabbit
Fudan University
Home
-
Xu Kun 0

Fudan University
China, Shanghai
Last visit May 9 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I found out that amarok sometimes regard images in the directory as album cover but sometinmes not.Any how,the script can't descide if the image is correct album cover.I think we may need a gui notification to let users make choices.It is indeed a hard work for me and may take a long time cause I don't know how to write a pyqt or pygtk or wxpython script.
For now,I recommend manually set the album cover to avoid overwriting:)


Reply to this

-
.

 no GUI bindings need

 
 by sanfanling on: May 12 2007
 
Score 50%

you don't need any GUI bindings for python, just try in python-console mode, you would understand.

import commands
cmd=commands.getoutput("kdialog --getexistingdirectory '/home' 2>/dev/null")
print cmd

if you use scim just like me," 2>/dev/null" is very important

waiting for your new version


Reply to this

-

 Re: no GUI bindings

 
 by CuteRabbit on: May 18 2007
 
Score 50%
CuteRabbitCuteRabbit
Fudan University
Home
-
Xu Kun 0

Fudan University
China, Shanghai
Last visit May 9 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thank you for teaching me.But I think there will be no time for me to do this until CET6 at June 26th.The test is very important for me,and I must pass it.


Reply to this

-

 Re: Re: no GUI bindi

 
 by CuteRabbit on: May 18 2007
 
Score 50%
CuteRabbitCuteRabbit
Fudan University
Home
-
Xu Kun 0

Fudan University
China, Shanghai
Last visit May 9 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Sorry,June 23th.


Reply to this

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.

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.