How to install autoqueue in Quod Libet

Asked by André Ricardo

This is no official documentation! Just figured it might be useful for other people trying to install auto queue, if there was a Wiki I would put it there

=== SYSTEM INFORMATION:
Quod Libet 2.2.1
Mutagen 1.19
Python 2.6.5 (r265:79063, Apr 5 2010, 15:40:08)
[GCC 4.4.3] linux2

= Install auto queue =

sudo apt-get install bzr python-scipy python-setuptools quodlibet quodlibet-plugins(optional) banshee-extension-mirage (or banshee-community-extensions)
bzr branch lp:autoqueue
cd autoqueue
sudo python2 setup.py install (Warning: run it at your own responsibility)
sudo cp quodlibet_autoqueue.py /usr/lib/python2.7/site-packages/quodlibet/plugins/events/

= If you are in a 64bit system, change the /usr/lib location =
sudo vi (or gedit) /usr/lib/python2.7/site-packages/autoqueue-0.2beta2-py2.6.egg/mirage/__init__.py
edit /usr/lib/banshee-1/Extensions/libmirageaudio.so to /usr/lib64/banshee-1/Extensions/libmirageaudio.so or the actual location of libmirageaudio.so

= enable autoqueue =
$ quodlibet

In the Quod Libet interface do the following
Music > Plugins > [Enable Auto Queue] and check "log to console" and "use mirage"

If in the terminal you can see:
[autoqueue] MIRAGE True
[autoqueue] enabled

Then mirage and autoqueue are working fine

[autoqueue] Blocked artist: azevedo silva (3)
libmirageaudio: rate=44100, resampling=0.500000
[autoqueue] Getting similar tracks from mirage for: azevedo silva - frio e fome
libmirageaudio: decoding /home/andrericardo/Música/azevedosilva/08 Cianeto de Potássio.mp3
[autoqueue] Getting similar tracks from last.fm for: azevedo silva - frio e fome
libmirageaudio: EOS Message received
libmirageaudio: EOS Message sent
libmirageaudio: time = 850.000000
libmirageaudio: frames=2583 (maxhops=2583), size=513
Mirage: decoded frames=c_int(2583),size=c_int(513)
Mirage: mfcc Execution Time: 0:00:00.253200
Mirage: scms created in: 0:00:01.421542

== Errors ==

Q: I'm getting:
"__init__.py", line 484, in get_blocked_artists_pickle
    artists, times = unpickler.load()
EOFError"
and I don't see Auto Queue plugin in Quod Libet.

A: Try to delete autoqueue_block_cache
$ rm ~/.cache/autoqueue/autoqueue_block_cache

Question information

Language:
English Edit question
Status:
Expired
For:
autoqueue Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Eric Casteleijn (thisfred) said :
#2

Since this was more of an answer than a question, I converted into an FAQ. Thanks for contributing this. I had no idea about the 64bit problems, I'll try and see if I can fix those in a cleaner way.
FAQ #1291: “How to install autoqueue in Quod Libet”.