docs: Describe backend/mixer __init__ args

This commit is contained in:
Stein Magnus Jodal 2014-07-09 23:25:00 +02:00
parent 83f1d00944
commit 4d0fa17c85
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,11 @@ class Backend(object):
:exc:`~mopidy.exceptions.BackendError` with a descriptive error message. :exc:`~mopidy.exceptions.BackendError` with a descriptive error message.
This will make Mopidy print the error message and exit so that the user can This will make Mopidy print the error message and exit so that the user can
fix the issue. fix the issue.
:param config: the entire Mopidy configuration
:type config: dict
:param audio: actor proxy for the audio subsystem
:type audio: :class:`pykka.ActorProxy` for :class:`mopidy.audio.Audio`
""" """
#: Actor proxy to an instance of :class:`mopidy.audio.Audio`. #: Actor proxy to an instance of :class:`mopidy.audio.Audio`.

View File

@ -8,6 +8,11 @@ class Mixer(object):
:exc:`~mopidy.exceptions.MixerError` with a descriptive error message. This :exc:`~mopidy.exceptions.MixerError` with a descriptive error message. This
will make Mopidy print the error message and exit so that the user can fix will make Mopidy print the error message and exit so that the user can fix
the issue. the issue.
:param config: the entire Mopidy configuration
:type config: dict
:param audio: actor proxy for the audio subsystem
:type audio: :class:`pykka.ActorProxy` for :class:`mopidy.audio.Audio`
""" """
name = None name = None