mycroft.audio.service. This class implements all basic commands and will be called by Mycroft. For complete specification see the docstrings for the class.
pause, etc), there are a couple of important methods to mention.
supported_uris()method this is used to determine if the service backend can handle the given uri-type (https://, file://, etc). A basic implementation will return an iterable with uri types:
('file', 'http', 'https')
add_list(), of which the first removes all items from the current list, and the second appends a list of uri's to the list.
load_service()needs to exist in the module. It will be called with the Mycroft audio configuration and a connection to the messagebus. The method should return a tuple with audio backends included in the file.
load_service()function can also be used to scan the local network for things like chromecast and create an audioservice backend for each found device.
example_audiobackendis the audio service module name for the plugin,
my_audiobackendwill be the audioservice module containing the