From 296a7e71a62fafc297a2666c7ecaf4eca7b459a4 Mon Sep 17 00:00:00 2001 From: liam4 Date: Sun, 11 Jun 2017 20:31:24 -0300 Subject: Log track info, and more --- src/downloaders.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/downloaders.js') diff --git a/src/downloaders.js b/src/downloaders.js index 5f65346..28dab92 100644 --- a/src/downloaders.js +++ b/src/downloaders.js @@ -24,13 +24,14 @@ function makeYouTubeDownloader() { const tempDir = tempy.directory() const opts = [ + '--quiet', '--extract-audio', '--audio-format', 'wav', '--output', tempDir + '/dl.%(ext)s', arg ] - return promisifyProcess(spawn('youtube-dl', opts), false) + return promisifyProcess(spawn('youtube-dl', opts)) .then(() => tempDir + '/dl.wav') } } -- cgit 1.3.0-6-gf8a5