add DLNA support

This commit is contained in:
grunjol
2016-04-04 13:00:25 -03:00
parent 2509c0c951
commit 6aa7058184
5 changed files with 122 additions and 24 deletions

View File

@@ -246,11 +246,8 @@ function dispatch (action, ...args) {
if (action === 'openTorrentContextMenu') {
openTorrentContextMenu(args[0] /* infoHash */)
}
if (action === 'openChromecast') {
lazyLoadCast().open('chromecast')
}
if (action === 'openAirplay') {
lazyLoadCast().open('airplay')
if (action === 'open') {
lazyLoadCast().open(args[0] /* deviceType */)
}
if (action === 'stopCasting') {
lazyLoadCast().stopCasting()