SmartDJHowTo

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2005-12-05 13:15:27
Size: 3291
Editor: host2
Comment: Base entry for the SmartDJHowTo
Revision 6 as of 2006-02-11 05:39:04
Size: 3174
Editor: athedsl-45459
Comment: Added the python2.4-dev dependency
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
This is a step-by-step guide for installing the Smart DJ script for ["Amarok"] on Ubuntu Breezy 5.10. This is a step-by-step guide for installing the Smart DJ script for ["Amarok"] on Ubuntu Breezy 5.10.[[BR]]
Line 10: Line 10:
Download these in your homedir Download the latest version of these packages in your homedir
Line 12: Line 12:
 * http://www.usm.edu.ec/~amadorm/software/python-extattr-0.1.3.tar.gz
 * http://www.usm.edu.ec/~amadorm/software/songanalysis-0.4.0.tar.gz
 * http://www.usm.edu.ec/~amadorm/software/python-commandsplus-0.2.3.tar.gz
 * http://www.usm.edu.ec/~amadorm/software/python-amarok-0.1.0.tar.gz
 * http://www.usm.edu.ec/~amadorm/software/python-Observable-0.1.0.tar.gz
 * http://rudd-o.com/wp-content/projects/files/python-extattr/
 * http://rudd-o.com/wp-content/projects/files/songanalysis/
 * http://rudd-o.com/wp-content/projects/files/python-commandsplus/
 * http://rudd-o.com/wp-content/projects/files/python-amarok/
 * http://rudd-o.com/wp-content/projects/files/python-Observable/
Line 22: Line 21:
# sudo apt-get install python-qt3 vorbis-tools attr mpg321 binutils gcc make gsl-bin libgsl0-dev libvorbis-dev # sudo apt-get install python-qt3 python2.4-dev vorbis-tools attr mpg321 binutils gcc make gsl-bin libgsl0-dev libvorbis-dev
Line 25: Line 24:
 * ''(some packages are used when you will process mp3 or ogg. If you don't use this format you may skip that package. mp3: mpg321, ogg: vorbis-tools - libvorbis-dev)''
 * ''(make, binutils and gcc are required because you have to compile a package from source. If songanalysis comes in a package in a later time they will not be necessary)''
 * ''(some packages are used when you will process mp3 or ogg. If you don't use this format you may skip that package. '''mp3: ''mpg321''''', '''ogg: ''vorbis-tools - libvorbis-dev''')
 * ('''''make''', '''binutils''' and '''gcc''' are required because you have to compile a package from source. If songanalysis comes in a package in a later time they will not be necessary)''
Line 36: Line 35:
# tar -xvf amarok-0.1.0.tar.gz # tar -xvf python-amarok-0.1.0.tar.gz
Line 46: Line 45:
# cd amarok-0.1.0 # cd python-amarok-0.1.0
Line 62: Line 61:
# cd /usr/bin/ $ sudo ln -s ogg123 ogg321 # cd /usr/bin/
#
sudo ln -s ogg123 ogg321
Line 70: Line 70:
 * The custom packages seem to be updated frequently. In case of wrong url, visit the [http://www.usm.edu.ec/~amadorm/software/ hosting site] and download the latest version.

Smart DJ Installation How To

This is a step-by-step guide for installing the Smart DJ script for ["Amarok"] on Ubuntu Breezy 5.10.BR Smart DJ is a program that works similary to the dynamic playlist but instead of appending songs that others have recommended it analyzes the tracks in your collection and then adds tracks that sound similar to what you are listening. More details can be find in the [http://www.kde-apps.org/content/show.php?content=31509 script's description]

Installing the Script

Custom Packages

You'll need to install some custom packages. At the time of writing these are not in the apt repository so you will have to do it manually.

Download the latest version of these packages in your homedir

Apt Packages

Now get some packages you'll need *

# sudo apt-get install python-qt3 python2.4-dev vorbis-tools attr mpg321 binutils gcc make gsl-bin libgsl0-dev libvorbis-dev
  • (some packages are used when you will process mp3 or ogg. If you don't use this format you may skip that package. mp3: mpg321, ogg: vorbis-tools - libvorbis-dev)

  • (make, binutils and gcc are required because you have to compile a package from source. If songanalysis comes in a package in a later time they will not be necessary)

Installation

Start installing the packages your downloaded

# tar -xvf python-commandsplus-0.2.3.tar.gz 
# tar -xvf python-extattr-0.1.3.tar.gz 
# tar -xvf songanalysis-0.4.0.tar.gz 
# tar -xvf python-Observable-0.1.0.tar.gz 
# tar -xvf python-amarok-0.1.0.tar.gz 
# cd python-commandsplus-0.2.3 
# sudo python setup.py install 
# cd .. 
# cd python-extattr-0.1.3 
# sudo python setup.py install 
# cd .. 
# cd python-Observable-0.1.0 
# sudo python setup.py install 
# cd .. 
# cd python-amarok-0.1.0 
# sudo python setup.py install 
# cd .. 
# cd songanalysis-0.4.0 
# ./configure 
# make 
# sudo make install 
# cd ..

If you wish, enable extended attributes on the volume where you store your mp3/ogg files (see the SmartDJ script README)

Create ogg321

If you use vorbis files, create a symlink for ogg321.

# cd /usr/bin/ 
# sudo ln -s ogg123 ogg321

Finalizing

Now use amaroK's script manager to install the latest Smart DJ script. Hopefully all is fine and you should be able to start the script.

Final Notes

  • Before running this script I used mp32ogg to encode all my collection into the vorbis format. For some reason the Script would halt on some .mp3 files.
  • Disclaimer. I do not claim that this will work every time and I may have forgotten something because I did this a while ago. If you find something wrong or missing please fix it or let me know.


CategoryCleanup CategoryDocumentation

SmartDJHowTo (last edited 2008-08-06 16:40:47 by localhost)