From 28b402c550e9b832e20333e5690ac71fa3f24529 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 17 Jun 2010 14:39:28 +0200 Subject: [PATCH] docs: How to install gstreamer on Linux, OSX, and activate GstreamerBackend --- docs/installation/gstreamer.rst | 37 +++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/docs/installation/gstreamer.rst b/docs/installation/gstreamer.rst index d8fc9029..a5b30d0e 100644 --- a/docs/installation/gstreamer.rst +++ b/docs/installation/gstreamer.rst @@ -2,9 +2,38 @@ Gstreamer installation ********************** -**TODO** Document Gstreamer installation on Linux, OS X and Windows. +To use the `Gstreamer `_ backend, you first +need to install Gstreamer and its Python bindings. -To install Gstreamer on OS X:: - sudo port install py26-gst-python py26-gobject \ - gstreamer-plugins-good gstreamer-plugins-ugly +Installing Gstreamer on Linux +============================= + +Gstreamer is packaged for most popular Linux distributions. If you use +Debian/Ubuntu you can install Gstreamer with Aptitude:: + + sudo aptitude install python-gst0.10 gstreamer0.10-plugins-good \ + gstreamer0.10-plugins-ugly + + +Installing Gstreamer on OS X +============================ + +To install Gstreamer on OS X using Homebrew:: + + brew install gst-python gst-plugins-good gst-plugins-ugly + +To install Gstreamer on OS X using MacPorts:: + + sudo port install py26-gst-python gstreamer-plugins-good \ + gstreamer-plugins-ugly + + +Setting up Mopidy to use the Gstreamer backend +============================================== + +Currently :mod:`mopidy.backends.despotify` is the default +backend. If you want to use :mod:`mopidy.backends.gstreamer` +instead, add the following to ``~/.mopidy/settings.py``:: + + BACKENDS = (u'mopidy.backends.gstreamer.GstreamerBackend',)