From 88243587d326869740acaa19346b074fbba7aef8 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 6 Feb 2016 17:26:29 +0100 Subject: chromecast torrent title attach the torrent name so chromecast shows the name of the torrent file on the preload screen --- bin/cmd.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 + }) }) } -- cgit v1.2.3