From 1c8f02ce0ff7d36bbf94e1630e96347208041ffe Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 7 Dec 2015 11:45:56 -0500 Subject: [PATCH] stop playback when ending chromecast session --- dashboard-ui/scripts/chromecast.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/chromecast.js b/dashboard-ui/scripts/chromecast.js index 4f4e688400..e73f43090b 100644 --- a/dashboard-ui/scripts/chromecast.js +++ b/dashboard-ui/scripts/chromecast.js @@ -781,7 +781,10 @@ self.endSession = function () { - castPlayer.stopApp(); + self.stop(); + setTimeout(function () { + castPlayer.stopApp(); + }, 1000); }; self.volumeUp = function () {