Image 01
profile-image

muskatnuss

Patrick Oberdorfer , Austria
Cover Fetcher (for AmaroK 1.4)

Amarok 1.x Scripts by evod 28 comments

First of All great SCRIPT !!! =D
love it


but im a bedian user and here you will encounter several problems with it...

using debian etch and gnome 2.14.3

I encountered a big Problem with my debian packaged Version of PyQT.
When i start the script and take a look at the log it says:
Error: Wrong statement
self.discogsLinkLabel.setOpenExternalLinks(True)

this error is caused by PyQT 4.2 and lower
the function setOpenExternalLinks does not exist in packages below 4.4.X

so i build them from source and CoverFetcher works fine now :D

same problem?
solution:

Get the sources needed
$wget http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.4.3.tar.gz
$wget http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.7.7.tar.gz
$wget ftp://ftp.trolltech.no/qt/source/qt-x11-opensource-src-4.4.3.tar.gz

PyQT = python QT bindings
SIP = python qt binder ^^
QT = Qt

now unpack them
$tar xvfz PyQt-x11-gpl-4.4.3.tar.gz
$tar xvfz sip-4.7.7.tar.gz
$tar xvfz qt-x11-opensource-src-4.4.3.tar.gz

installing qt
$cd qt-x11-opensource-src-4.4.3
$./configure | or | $sh configure
$make
$su -c make install

now add the qmake binding to your Exported path
$su -c nano /etc/profile

at the end of this document you find something like:
export PATH

cahnge it to:
export PATH=/usr/local/Trolltech/Qt-4.4.3/bin:$PATH

strg+o to save in editor nano ^^
you could take any you prefer eg. gedit or vim


go voer to install SIP
$cd ..
$cd sip-4.7.7
$python configure.py
$make
$su -c make install

now get on this python qt bindings
$cd ..
$cd PyQt-x11-gpl-4.4.3
$python configure.py
$make
$su -c make install


now all sould be done.
get to amarok and start your CoverFetcher =D

great script and i hope this works 4 you
if you encounter any problems ... let me know - Oct 09 2008