Minor edit of comments

pull/1963/head
Steve Penrod 2019-01-31 01:46:35 -06:00 committed by GitHub
parent 5c26a5d9a5
commit 01ea0afdeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -21,7 +21,7 @@ class AudioBackend:
Args: Args:
config: configuration dict for the instance config: configuration dict for the instance
bus: mycroft messagebus emitter bus: Mycroft messagebus emitter
""" """
__metaclass__ = ABCMeta __metaclass__ = ABCMeta
@ -118,9 +118,9 @@ class AudioBackend:
@abstractmethod @abstractmethod
def seek_forward(self, seconds=1): def seek_forward(self, seconds=1):
""" """
skip X seconds Skip X seconds
Args: Args:
seconds (int): number of seconds to seek, if negative rewind seconds (int): number of seconds to seek, if negative rewind
""" """
pass pass
@ -128,9 +128,9 @@ class AudioBackend:
@abstractmethod @abstractmethod
def seek_backward(self, seconds=1): def seek_backward(self, seconds=1):
""" """
rewind X seconds Rewind X seconds
Args: Args:
seconds (int): number of seconds to seek, if negative rewind seconds (int): number of seconds to seek, if negative rewind
""" """
pass pass
@ -148,14 +148,13 @@ class AudioBackend:
return ret return ret
def shutdown(self): def shutdown(self):
""" perform clean shutdown """ """ Perform clean shutdown """
self.stop() self.stop()
class RemoteAudioBackend(AudioBackend): class RemoteAudioBackend(AudioBackend):
""" Class used to identify remote audio backends. """ Base class for remote audio backends.
These may be things like Chromecasts, mopidy servers, etc. These may be things like Chromecasts, mopidy servers, etc.
""" """
pass pass