do not send quit app to chromecast
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 18 Sep 2020 23:13:32 +0000 (01:13 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 18 Sep 2020 23:13:32 +0000 (01:13 +0200)
it will crash the entire thing

music_assistant/providers/chromecast/player.py

index 9cce49c161d05af42005a6c8016954a7fddceba0..11b347ae256e4f5c98e82084e1c9271ff4883143 100644 (file)
@@ -308,7 +308,6 @@ class ChromecastPlayer:
             self.media_status.player_is_playing or self.media_status.player_is_paused
         ):
             self._chromecast.media_controller.stop()
-            self._chromecast.quit_app()
         self._powered = False
         # chromecast has no real poweroff so we send mute instead
         self._chromecast.set_volume_muted(True)