Remove null output as it turns out we can run fine without any outputs
This commit is contained in:
parent
38733c9d9a
commit
35a169b8e7
@ -15,5 +15,4 @@ Output implementations
|
|||||||
|
|
||||||
* :class:`mopidy.outputs.custom.CustomOutput`
|
* :class:`mopidy.outputs.custom.CustomOutput`
|
||||||
* :class:`mopidy.outputs.local.LocalOutput`
|
* :class:`mopidy.outputs.local.LocalOutput`
|
||||||
* :class:`mopidy.outputs.null.NullOutput`
|
|
||||||
* :class:`mopidy.outputs.shoutcast.ShoutcastOutput`
|
* :class:`mopidy.outputs.shoutcast.ShoutcastOutput`
|
||||||
|
|||||||
@ -10,6 +10,4 @@ The following GStreamer audio outputs implements the :ref:`output-api`.
|
|||||||
|
|
||||||
.. autoclass:: mopidy.outputs.local.LocalOutput
|
.. autoclass:: mopidy.outputs.local.LocalOutput
|
||||||
|
|
||||||
.. autoclass:: mopidy.outputs.null.NullOutput
|
|
||||||
|
|
||||||
.. autoclass:: mopidy.outputs.shoutcast.ShoutcastOutput
|
.. autoclass:: mopidy.outputs.shoutcast.ShoutcastOutput
|
||||||
|
|||||||
@ -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'
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user