BPD: print messages reflecting tree (re)build

This commit is contained in:
Adrian Sampson 2012-04-30 12:02:00 -07:00
parent 6d7cbd6d2f
commit fa3e41c86a
3 changed files with 9 additions and 7 deletions

View file

@ -751,7 +751,9 @@ class Server(BaseServer):
"""
# Path is ignored. Also, the real MPD does this asynchronously;
# this is done inline.
print 'Building directory tree...'
self.tree = vfs.libtree(self.lib)
print '... done.'
self.updated_time = time.time()
@ -1093,7 +1095,7 @@ class BPDPlugin(BeetsPlugin):
Server(lib, host, port, password).run()
except NoGstreamerError:
global_log.error('Gstreamer Python bindings not found.')
global_log.error('Install "python-gst0.10", "py26-gst-python",'
global_log.error('Install "python-gst0.10", "py27-gst-python", '
'or similar package to use BPD.')
def commands(self):

View file

@ -51,6 +51,8 @@ Changelog
store music). To customize your character substitutions, see :ref:`the replace
config option <replace>`.
* Filename collisions are now avoided when moving album art.
* :doc:`/plugins/bpd`: Print messages to show when directory tree is being
constructed.
* :doc:`/plugins/bpd`: Use Gstreamer's ``playbin2`` element instead of the
deprecated ``playbin``.
* :doc:`/plugins/bpd`: Listings are now sorted (thanks once again to Matteo

View file

@ -17,10 +17,9 @@ Before you can use BPD, you'll need the media library called GStreamer (along
with its Python bindings) on your system.
* On Mac OS X, you can use `MacPorts`_ or `Homebrew`_. For MacPorts, just run
``port install py27-gst-python``. For Homebrew, the `Mopidy`_ project has
`detailed instructions`_ for installing the necessary libraries.
(Note that you'll need the
Mac OS X Developer Tools.)
``port install py27-gst-python``. For Homebrew, use `my auxiliary repository`_
to install: ``brew tap sampsyo/py ; brew install gst-python``.
(Note that you'll need the Mac OS X Developer Tools in either case.)
* On Linux, it's likely that you already have gst-python. (If not, your
distribution almost certainly has a package for it.)
@ -31,8 +30,7 @@ with its Python bindings) on your system.
.. _MacPorts: http://www.macports.org/
.. _GStreamer WinBuilds: http://www.gstreamer-winbuild.ylatuya.es/
.. _Homebrew: http://mxcl.github.com/homebrew/
.. _Mopidy: https://github.com/mopidy/mopidy/
.. _detailed instructions: http://docs.mopidy.com/en/latest/installation/gstreamer/#installing-gstreamer-on-os-x
.. _my auxiliary repository: https://github.com/sampsyo/homebrew-py
Using and Configuring
---------------------