add DLNA support
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user