IMMS is a xmms plugin that assigns weights to mp3 and other audio files. The IMMS binaries rely on a few 3rd party (opensource) applications and libraries, such as SQLite3, sox and a few other external libraries (such as FFTW).
1. Compiling IMMS
To get IMMS to parse the id3 tags of mp3 requires that either TagLib or ID3Lib is installed and that sox is available with mp3 support.
2. Installing SOX with mp3
See mp3.txt#2 (*installing SOX with mp3 support*)
3. Compiling IMMS
IMMS requires several 3rd party packages and headers to be installed:
* XMMS or BMP * SQLite 3.0 * PCRE * glib 2.0 * FFTW 3.0 * TagLib (preferred) or id3lib/libvorbis * SoX (with support for mp3/ogg/etc, see #2)
The IMMS home page is at http://www.luminal.org/wiki/index.php/IMMS/
4. Querying the IMMS database
IMMS tracks weights of audio files in an SQLite3 database. The tables are created in the datafile ~/.imms/imms.db, which can be queried interactively via:
bash$ sqlite3 ~/.imms/imms.db
A. Select audio files with a rating higher than 100
bash$ sqlite3 ~/.imms/imms2.db 'SELECT path \
FROM Identify i, Rating r WHERE i.uid = r.uid AND rating > 100;'