Show which cast device you're connected to

This commit is contained in:
DC
2016-06-23 06:48:04 -07:00
parent 0af6007632
commit 7526b18507
3 changed files with 7 additions and 2 deletions

View File

@@ -1068,9 +1068,11 @@ function openPlayerFromActiveTorrent (torrentSummary, index, timeout, cb) {
}
function closePlayer (cb) {
console.log('closePlayer')
// Quit any external players, like Chromecast/Airplay/etc or VLC
if (isCasting()) {
Cast.close()
Cast.stop()
}
if (state.playing.location === 'vlc') {
ipcRenderer.send('vlcQuit')