« get me outta code hell

Log track info, and more - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src/downloaders.js
diff options
context:
space:
mode:
authorliam4 <towerofnix@gmail.com>2017-06-11 20:31:24 -0300
committerliam4 <towerofnix@gmail.com>2017-06-11 20:31:24 -0300
commit296a7e71a62fafc297a2666c7ecaf4eca7b459a4 (patch)
treeb8b59a42d742ae639c12d95af4b7313c2442f98e /src/downloaders.js
parent791c62508c00de07e3190c078824d8277926673d (diff)
Log track info, and more
Diffstat (limited to 'src/downloaders.js')
-rw-r--r--src/downloaders.js3
1 files changed, 2 insertions, 1 deletions
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')
   }
 }