diff --git a/mopidy/outputs/base.py b/mopidy/outputs/base.py index 372d7d70..fbc86688 100644 --- a/mopidy/outputs/base.py +++ b/mopidy/outputs/base.py @@ -3,33 +3,6 @@ class BaseOutput(object): Base class for audio outputs. """ - def __init__(self, core_queue): - self.core_queue = core_queue - - def start(self): - """ - Start the output. - - *MAY be implemented by subclasses.* - """ - pass - - def destroy(self): - """ - Destroy the output. - - *MAY be implemented by subclasses.* - """ - pass - - def process_message(self, message): - """ - Process messages with the output as destination. - - *MUST be implemented by subclass.* - """ - raise NotImplementedError - def play_uri(self, uri): """ Play URI. diff --git a/mopidy/outputs/dummy.py b/mopidy/outputs/dummy.py index 060ee02f..738575f3 100644 --- a/mopidy/outputs/dummy.py +++ b/mopidy/outputs/dummy.py @@ -8,15 +8,6 @@ class DummyOutput(BaseOutput): # pylint: disable = R0902 # Too many instance attributes (9/7) - #: For testing. :class:`True` if :meth:`start` has been called. - start_called = False - - #: For testing. :class:`True` if :meth:`destroy` has been called. - destroy_called = False - - #: For testing. Contains all messages :meth:`process_message` has received. - messages = [] - #: For testing. Contains the last URI passed to :meth:`play_uri`. uri = None @@ -40,15 +31,6 @@ class DummyOutput(BaseOutput): #: For testing. Contains the current volume. volume = 100 - def start(self): - self.start_called = True - - def destroy(self): - self.destroy_called = True - - def process_message(self, message): - self.messages.append(message) - def play_uri(self, uri): self.uri = uri return True