Merge pull request #1608 from forslund/bugfix/chromecast-shutdown

Fix chromecast quitting app on mycroft shutdown.
pull/1609/head
Åke 2018-05-24 08:01:26 +02:00 committed by GitHub
commit e41da90ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ class ChromecastService(AudioBackend):
ret['album'] = ''
return ret
def shutdown(self):
""" Disconnect from the device. """
self.cast.disconnect()
def autodetect(config, emitter):
"""