Minor edit of comments
parent
5c26a5d9a5
commit
01ea0afdeb
|
@ -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,7 +118,7 @@ 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
|
||||||
|
@ -128,7 +128,7 @@ 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
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue