From 19a942d6c2215352a35bde3abc5bfed21d9e3fc2 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 10 Jan 2016 17:53:10 +0100 Subject: BREAKING: `downloadSpeed` and `uploadSpeed` are getters torrent.downloadSpeed() -> torrent.downloadSpeed torrent.uploadSpeed() -> torrent.uploadSpeed --- bin/cmd.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/cmd.js b/bin/cmd.js index 311d358..2271548 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -446,7 +446,6 @@ function runDownload (torrentId) { device.play(href, 0, function () {}) }) .start() - // TODO: handle case where user closes airplay. do same thing as when VLC is closed } if (argv.chromecast) { @@ -505,7 +504,7 @@ function drawTorrent (torrent) { }) var linesRemaining = clivas.height var peerslisted = 0 - var speed = torrent.downloadSpeed() + var speed = torrent.downloadSpeed var estimate = moment.duration(torrent.timeRemaining / 1000, 'seconds').humanize() clivas.clear() -- cgit v1.2.3