Remove null output as it turns out we can run fine without any outputs

This commit is contained in:
Thomas Adamcik 2011-05-20 22:30:59 +02:00
parent 38733c9d9a
commit 35a169b8e7
3 changed files with 0 additions and 19 deletions

View File

@ -15,5 +15,4 @@ Output implementations
* :class:`mopidy.outputs.custom.CustomOutput`
* :class:`mopidy.outputs.local.LocalOutput`
* :class:`mopidy.outputs.null.NullOutput`
* :class:`mopidy.outputs.shoutcast.ShoutcastOutput`

View File

@ -10,6 +10,4 @@ The following GStreamer audio outputs implements the :ref:`output-api`.
.. autoclass:: mopidy.outputs.local.LocalOutput
.. autoclass:: mopidy.outputs.null.NullOutput
.. autoclass:: mopidy.outputs.shoutcast.ShoutcastOutput

View File

@ -1,16 +0,0 @@
from mopidy.outputs import BaseOutput
class NullOutput(BaseOutput):
"""
Fall-back null output.
This output will not output anything. It is intended as a fall-back for
when setup of all other outputs have failed and should not be used by end
users. Inserting this output in such a case ensures that the pipeline does
not crash.
"""
def describe_bin(self):
return 'fakesink'