From 1eac87866703d32a8ee5a29edd9fd7f6145417ca Mon Sep 17 00:00:00 2001 From: Bruno Date: Wed, 21 Jan 2015 18:53:41 +0100 Subject: [PATCH 1/2] Doc: chroma plugin & virtualenvs Mention --system-site-packages for the chroma plugin to work in virtualenvs. --- docs/plugins/chroma.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/plugins/chroma.rst b/docs/plugins/chroma.rst index c770fe698..973b1e421 100644 --- a/docs/plugins/chroma.rst +++ b/docs/plugins/chroma.rst @@ -69,6 +69,9 @@ You will also need a mechanism for decoding audio files supported by the For example, on Ubuntu, run ``apt-get install python-gst0.10-dev``. On Arch Linux, you want ``pacman -S gstreamer0.10-python``. If you use GStreamer, be sure to install its codec plugins also. + + Note that if you install beets in a virtualenv, you'll need it to have + ``--system-site-packages`` enabled for python to see the gstreamer bindings. * On Windows, try the Gstreamer "WinBuilds" from the `OSSBuild`_ project. From d36ebf3e29329ba93584975561c74524f15c66fb Mon Sep 17 00:00:00 2001 From: Bruno Cauet Date: Wed, 21 Jan 2015 19:09:25 +0100 Subject: [PATCH 2/2] test_embedart: fix imports --- test/test_embedart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_embedart.py b/test/test_embedart.py index f44a6b013..864d15629 100644 --- a/test/test_embedart.py +++ b/test/test_embedart.py @@ -17,7 +17,7 @@ from mock import Mock, patch import _common from _common import unittest -from helper import TestHelper, capture_log +from helper import TestHelper from beets.mediafile import MediaFile from beets import config, logging, ui