Cover Fetcher (for AmaroK 1.4)

Amarok 1.x Scripts

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

2
5.0
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
Last changelog:

11 years ago

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

skaar

12 years ago

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.

Report

C

evod

12 years ago

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)

Report

anoc

12 years ago

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

Report

11 years ago

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

12345678910
Be the first to comment
DaiVied
Dec 30 2009
ciso
Jan 10 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.0
updated Feb 09 2009
added Jun 23 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags addon