« get me outta code hell

Finish up restoring downloaders, maybe - 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:
authorLiam <towerofnix@gmail.com>2017-07-14 20:13:21 +0000
committerLiam <towerofnix@gmail.com>2017-07-14 20:13:21 +0000
commitacc1a701f65926a6fb63ce3d445d9e19213a83c0 (patch)
tree68ba6d42f2a19a60b1943d83021ff8e0f89dce95 /src/downloaders.js
parent2c150dfedba07b95334bbf2211739b5614e4949d (diff)
Finish up restoring downloaders, maybe
Diffstat (limited to 'src/downloaders.js')
-rw-r--r--src/downloaders.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloaders.js b/src/downloaders.js
index 1de6730..bc9cf15 100644
--- a/src/downloaders.js
+++ b/src/downloaders.js
@@ -33,13 +33,13 @@ function makeYouTubeDownloader() {
     const opts = [
       '--quiet',
       '--extract-audio',
-      '--audio-format', 'wav',
+      '--audio-format', 'mp3',
       '--output', tempDir + '/dl.%(ext)s',
       arg
     ]
 
     return promisifyProcess(spawn('youtube-dl', opts))
-      .then(() => tempDir + '/dl.wav')
+      .then(() => tempDir + '/dl.mp3')
   }
 }