chromecast: show WebTorrent before torrent name
This commit is contained in:
parent
ec5eb8aeae
commit
b861f39b95
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ function closePlayer () {
|
|||
function openChromecast (torrent) {
|
||||
startServer(torrent, function () {
|
||||
console.log(state.server.networkURL)
|
||||
state.chromecast.play(state.server.networkURL, { title: torrent.name })
|
||||
state.chromecast.play(state.server.networkURL, { title: 'WebTorrent — ' + torrent.name })
|
||||
state.chromecast.on('error', function (err) {
|
||||
err.message = 'Chromecast: ' + err.message
|
||||
onError(err)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue