Installation instructions

Before installation

You need a variety of things. Others aren’t needed, but greatly improve your experience with Smart DJ. Here’s the list (optional items are marked ‘optional’):

Of those, all are available on the Internet, as source packages and as precompiled RPM packages.

Optional activities

Install mpg321 and ogg321

The program that performs the music analysis, songanalysis, does not read MP3 or Ogg Vorbis files directly. songanalysis requires mpg321 and ogg321 to be present in order to analyze MP3 and Ogg Vorbis files, respectively. I guess you could make use of Smart DJ with only WAV files… but then again, I’m guessing you own lots more MP3 than WAV files.

Install PyQt

This plug-in requires the PyQt Python bindings for Qt for the user interface. You’ll probably find it easy to install PyQt since you already have amaroK and hence you have Qt installed. Basically, without PyQt, no user interface, no Auto DJ. Only analysis and a small box in the Context browser.

Patch amaroK with the included patch named amarok-show-tempo.diff

This will let you see song tempo in a playlist column. This is very convenient.

Enable extended attribute usage on your computer

Note that extended attributes are optional. But not enabling them may prove detrimental to this package’s performance. What is required is the presence of the Extended attributes for Python package, along with the getfattr and setfattr commands. See below for easy instructions on enabling extended attributes.

How to install Smart DJ

Simply open amaroK, then open the Script manager, click the Install Script button, and locate the script package. After installing, hit the Run button. That’s it!