Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cmd.js')
-rwxr-xr-xbin/cmd.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index a4ae8ed..b40574f 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -454,7 +454,9 @@ function runDownload (torrentId) {
if (argv.chromecast) {
var chromecasts = require('chromecasts')()
chromecasts.on('update', function (player) {
- player.play(href)
+ player.play(href, {
+ title: torrent.name
+ })
})
}