IMMS is an intelligent, adaptive, playlist manager. Originally a plugin for XMMS, it now has plugins for Audacious and Quod Libet as well. I love it dearly, as it’s freed me from having to manage playlists. It works well, and all of it’s data is handily available through an SQLite database. However, IMMS’ analyzer uses the -p option in it’s SoX command, an option that no longer exists and causes the command to fail…which causes the analyzer not to work. This is fixed in the 3.0.2-2 version of IMMS and likely in the beta version (3.1.0-rc2) which won’t install for me. However, I’m none too sure the analyzer actually works (more below). If you wish, you can download the source, unzip/tar it, and:
cd /imms_dir/analyzer
vi soxprovider.h
And you’ll see the line right at the top, plain as day. Remove the -p and save the file (i to get into edit text mode, <esc> :wq <enter> to write and quit vi). If you need to locate the file, try:
cd /imms_dir/analyzer
grep "\-p" *.*
Which returns the file and line containing the faulty -p flag.
Do the configure make install stuff (it’s in the readme) and run as usual. If you want to make sure everything is working properly, open the IMMS acoustic database (probably at ~/.imms/imms.acoustic.db) via your favourite SQLite tool. There is a plugin for Firefox that can browse SQLite databases if you want something quick. You’ll notice that while the acoustic database is being updated, the mfcc and bpm columns are illegible. Unfortunately, I don’t know if this is a bug or the way it’s supposed to work. When I find out I’ll jot it down here.
Update: the creator of IMMS, Mag, responded saying that IMMS stores binary blobs in the acoustic database, so illegible entries are expected. Thank you, Mag!
Filed under: Fix, imms, sox