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

Cover Fetcher (for AmaroK 1.4)

   1.0  

Amarok Script

Score 85%
Cover Fetcher (for AmaroK 1.4)
zoom


Cover Fetcher (for AmaroK 1.4)
zoom


Minimum required   PyKDE/PyQt
Downloads:  3050
Submitted:  Jun 23 2008
Updated:  Feb 9 2009

Description:

Fetches album art from Discogs.com and Last.fm.

The built in Amarok Cover Manager only allows fetching from amazon.com, which may be fine if your music collection largely consists of popular music. But if large parts of your music collection are vinyl rips or releases on underground labels, searching discogs.com will yield much better results.
This script allows fetching album cover art for the currently playing track from discogs.com by clicking onto any track in the playlist and selecting:
"Fetch Covers" -> "For Currently Playing Track"
Already existing local album art (image files from the currently playing track's folder) as well as relevant album art from Last.fm and Discogs.com can then be browsed / saved / deleted.

Hint:
If the window is not opening in the foreground but started minimized with the taskbar item flashing, the KDE focus stealing prevention level doesn't allow focussing our window. This can be fixed by setting this:
System Settings > Window Behaviour > Advanced > Focus Stealing Prevention Level: None

Prerequisites:
- Qt4.4.X
- PyQt4 (Python bindings for QT)

Keyboard Shortcuts:
The GUI can completely be used through keyboard interaction.
Show CoverFetcher Tab: Alt+F
Show Configuration Tab: Alt+C
Show Log Tab: Alt+L
Save image: Alt+S
Delete image: Alt+D
Show next image: Alt+RightArrow
Show previous image: Alt+LeftArrow
(Un)fit cover to window: Alt+Z
Quit: Alt+F4 / Escape




Changelog:

Version 1.0-2009-02-09
- fixed: discogs.com changed their XML format, so I had to adapt as well
- added: a "search" button for better mouse interaction
Version 0.3.1.1-2008-08-17
- bugfix: program would hang if last.fm were not reachable
Version 0.3.1-2008-08-03
- added: naming schemes (fixed, album name, unambiguous id from discogs/last.fm)
Version 0.3-2008-07-16
- added: support for fetching covers from last.fm
- added: full unicode support
- added: configuration tab
- bugfix: script can now be stopped from Amarok Script Manager
- bugfix: marking text in logwindow will no longer cause text to be inserted in the wrong position
Version 0.2.1-2008-07-09
- GUI keyboard interaction improved
Version 0.2-2008-07-07
- GUI redesign
- many fixes & changes under the hood
Version 0.1-2008-06-23:
- initial release




LicenseGPL
(Cover Fetcher (for AmaroK 1.4) 1.0)
Send to a friend
Subscribe
Other  Apps  from evod
Report inappropriate content



goto page:  1  2  3 

-

 Error

 
 by vmarinho on: Jun 23 2008
 
Score 50%

Hy, Evod!
I installed the script but it don't works. There was the following error message when I tried to make it works:
"File "/home/kurumin/.kde/share/apps/amarok/scripts/DiscogsCoverFetcher/DiscogsCoverFetcher.py", line 134
class Releases ():
^
SyntaxError: invalid syntax"
Since now, I thank you for the script and for your (future) help. I need too much this script because my amarok fetch cover don't fetch anymore.


My apologizes for my bad English.
Reply to this

-

 Re: Error

 
 by skaar on: Jun 24 2008
 
Score 50%

new amarok version, i've built a slack package, somehow messed up the cover art, but it works, cover art shows, from amazon. i get the same error for discogs.


Reply to this

-

 Re: Re: Error

 
 by evod on: Jun 24 2008
 
Score 50%

Which version of Python are you using? I developed this script using Python 2.5.2 (Kubuntu 8.04)

It seems strange that there is a syntax error, maybe you should try to replace the line
Releases ():
with
Releases():

(and the same for DiscogsDataFetcher)


Reply to this

-

 Re: Re: Re: Error

 
 by anoc on: Jul 9 2008
 
Score 50%

I have gentoo, with python 2.4.4 right now.

I had the same error, and managed to solve it: seems like python (my version at least) does not like class definitions with no parameters and prantheses. The solution was changing

class Releases ():
to
class Releases:

(and so on for other class definitions complaining).

This seems to be the correct way anyhow, according to this official tutorial: http://docs.python.org/tut/node11.html


Reply to this

-

 Amarok Discogs Cover Fetcher

 
 by vmarinho on: Jun 25 2008
 
Score 50%

I made the change that you indicated but the "invalid syntax" persists.
Obs.: the same situation appears in the line "class DiscogsDataFetcher ():".

I have Python 2.3, 2.4 e 2.5 on my system and I have PyQt too.


--
Reply to this

-

 Re: Amarok Discogs Cover Fetcher

 
 by evod on: Jun 25 2008
 
Score 50%

A python class definition looks like this (# = whitespace)

class name[(expr[,expr]*)]:
####suite

try it with:

class Releases:
####...

I'm just wondering why it works on my system. Since you have several versions of Python installed the question is which one is used for executing the amarok script..


Reply to this

-

 works for me

 
 by tzd on: Jun 26 2008
 
Score 50%

Hi.

Thanks for a great script!
I'm currently on Kubuntu Hardy (8.04) and I have no issues with the script. I've installed it via Amarok 1.4.9.1 and KDE 3.5.9.

I have a few suggestions for future releases though (freely translated):

1: Have it automatically download instead of default amazon.com or some kind of option where the user can choose from which source the art should be downloaded from. E.g: when you choose album art management and you'll be able to download art for all albums at the same time.

2: Be able to choose download art cover in the left panel and not just within the playlist. E.g: when you rightclick the album art picture.

Great work so far though! :)


Reply to this

-

 Re: works for me

 
 by evod on: Jun 27 2008
 
Score 50%

I would love to make the script work like this, but since this is a script (not a plugin) I can only work with the playlist window (add context menu entries there) and dcop calls (only allows retrieving meta information for currently playing song).

So your two wishes are mine as well, but unfortunately I can't realize them in a script.


Reply to this

-

 UPDATE: partly works

 
 by tzd on: Jun 26 2008
 
Score 50%

After trying it out a bit more I've noticed it only worked with the first cover. I usually get the window for cover fetching but in 99 out of 100 it's greyed out and the only thing i can choose is "close". I am able to edit title etc but since that won't affect anything it won't do me any good.

I'll eagerly await the future releases :)
Thanks again!


Reply to this

-

 Re: UPDATE: partly works

 
 by evod on: Jun 27 2008
 
Score 50%

How do you close the window? If you close it through pressing the escape button then the script won't work anymore. I will fix this in the next release.

If you didn't press escape then please look at the debug output for errors and post them here.


Reply to this

-
.

 last.fm integration?

 
 by bsander on: Jul 7 2008
 
Score 50%

Hi there :)

This sounds like a very useful script! I was wondering if it would be possible to integrate last.fm as an additional cover source in your extension. I find that usually last.fm yields better results for non-english artists than Amazon. And they have a very simple api (see http://www.last.fm/api/ and in particular http://www.last.fm/api/show?service=290 ). I filed this as a wish on Amarok a while ago but so far didn't receive a response.. If you could add this to your script that would be awesome!


Reply to this

-

 Re: last.fm integration?

 
 by evod on: Jul 9 2008
 
Score 50%

Hi!
Thanks for the hint, since I am no user of last.fm yet it didn't occur to me to use this as a cover source. I may integrate it in the future, but I'm not sure if there is a real benefit. Are there releases that are featured on last.fm and not on discogs.com? Discogs primarily featured electronic music but have opened up since then.. so could you give me some specific examples where last.fm would be required? (For motivational purposes :)


Reply to this

-
.

 Really nice!

 
 by bquest on: Jul 25 2008
 
Score 50%

Works for me like a charm. Nevertheless I would have one suggestion or question:

Would it be possible to prescribe a name for the downloaded cover? Like either the Album name or a user set name (like cover.jpg).

I ask this because my mp3 Player displays the Cover art when the device finds a jpg image with "cover.jpg" as filename.

And I think the Amarok script CopyCover is able to convert the folder symbol into the cover image when the picture is named "cover.jpg" as well.

Would be nice to have such a configuration option.

Other than that, really nice work. Thanks!


Reply to this

-

 Re: Really nice!

 
 by evod on: Jul 29 2008
 
Score 50%

First of all thanks for being fond of my script!

I'm thinking about how to design your proposed feature. Of course there can only be one cover.jpg and how to integrate this into the GUI without cluttering it..

I think of buttons with a functionality like 'Set as Front Cover' and 'Set as Back Cover' where the filenaming can be configured..

If you already have a specific idea on how to realize this or how you would like it just tell me :)


By the way: The use of copycover is not necessary, copycover is used to copy covers from the Amarok cache folder in your home directory to the folder where the album resides. My script copies the cover directly into the folder where the audio files are located, Amarok later finds out about this and copies it into the its cache folder.


Reply to this

-

 Re: Re: Really nice!

 
 by bquest on: Jul 30 2008
 
Score 50%

Sorry, I cannot code a single line ...

My reason for mentioning the CopyCover Script was that this script fetches the cover with a name like 646fb67583.jpg from Amarok's cache and copies it into the directory of the respective album (as I may have stated too imprecisely). The script allows you to either take over the album's name or to set the name as being 'Cover.jpg'.

Thus, maybe it is possible to "lend" the respective code from CopyCover and to adapt it to your fine script. I admit that I have no clue if this is feasible ... just an idea.

Best regards,
bquest


Reply to this

-

 Re: Re: Re: Really nice!

 
 by evod on: Aug 3 2008
 
Score 50%

Here you go, I implemented your requested feature in the newest version, I hope you like it :)


Reply to this

-
.

 Re: Re: Re: Re: Really nice!

 
 by bquest on: Aug 12 2008
 
Score 50%

Wow! Thanks! I don't like it, I LOVE it! All my thumbs up! :-D


Reply to this

goto page:  1  2  3 

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.