Refactor cast menu

This commit is contained in:
DC
2016-06-16 00:20:37 -07:00
parent 1bc3cd1d51
commit 0af6007632
5 changed files with 76 additions and 97 deletions

View File

@@ -32,10 +32,7 @@ function getDefaultState () {
},
selectedInfoHash: null, /* the torrent we've selected to view details. see state.torrents */
playing: getDefaultPlayState(), /* the media (audio or video) that we're currently playing */
devices: { /* playback devices like Chromecast and AppleTV */
airplay: null, /* airplay client. finds and manages AppleTVs */
chromecast: null /* chromecast client. finds and manages Chromecasts */
},
devices: {}, /* playback devices like Chromecast and AppleTV */
dock: {
badge: 0,
progress: 0