Update docs to reflect that the gstreamer branch has been merged

This commit is contained in:
Stein Magnus Jodal 2010-04-12 23:45:45 +02:00
parent 4689f5a011
commit dea5d4ba5b
4 changed files with 19 additions and 8 deletions

View File

@ -62,8 +62,10 @@ Other backends
:members: :members:
GStreamer backend :mod:`mopidy.backends.gstreamer` -- GStreamer backend
----------------- -----------------------------------------------------
``GstreamerBackend`` is pending merge from `adamcik/mopidy/gstreamer .. automodule:: mopidy.backends.gstreamer
<http://github.com/adamcik/mopidy/tree/gstreamer>`_. :synopsis: Backend for playing music from a local music archive using the
GStreamer library.
:members:

View File

@ -7,7 +7,10 @@ This change log is used to track all major changes to Mopidy.
0.1.0a1 (unreleased) 0.1.0a1 (unreleased)
==================== ====================
- Changed backend API for get/filter/find_exact/search. - Merged the ``gstreamer`` branch from Thomas Adamcik, bringing more than a
hundred new tests, several bugfixes and a new backend for playing music from
a local music archive.
- **[WIP]** Changed backend API for get/filter/find_exact/search.
0.1.0a0 (2010-03-27) 0.1.0a0 (2010-03-27)

View File

@ -24,9 +24,8 @@ Stuff we really want to do, but just not right now
- Replace libspotify with `openspotify - Replace libspotify with `openspotify
<http://github.com/noahwilliamsson/openspotify>`_ for the <http://github.com/noahwilliamsson/openspotify>`_ for the
``LibspotifyBackend``. ``LibspotifyBackend``.
- A backend for playback from local disk. Quite a bit of work on a `gstreamer - **[WIP]** A backend for playback from local disk. Quite a bit of work on
<http://gstreamer.freedesktop.org/>`_ backend has already been done by Thomas :mod:`mopidy.backends.gstreamer` has already been done by Thomas Adamcik.
Adamcik.
- Support multiple backends at the same time. It would be really nice to have - Support multiple backends at the same time. It would be really nice to have
tracks from local disk and Spotify tracks in the same playlist. tracks from local disk and Spotify tracks in the same playlist.
- **[Done]** Package Mopidy as a `Python package - **[Done]** Package Mopidy as a `Python package

View File

@ -21,6 +21,12 @@ GStreamerMessages().start()
class GStreamerBackend(BaseBackend): class GStreamerBackend(BaseBackend):
"""
A backend for playing music from a local music archive.
Uses the `GStreamer <http://gstreamer.freedesktop.org/>`_ library.
"""
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(GStreamerBackend, self).__init__(*args, **kwargs) super(GStreamerBackend, self).__init__(*args, **kwargs)
@ -93,6 +99,7 @@ class GStreamerPlaybackController(BasePlaybackController):
bus.remove_signal_watch() bus.remove_signal_watch()
bin.get_state() bin.get_state()
bin.set_state(gst.STATE_NULL) bin.set_state(gst.STATE_NULL)
bus.set_flushing(True)
del bus del bus
del bin del bin