« get me outta code hell

Fix unhelpful youtube-dl warning - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-07-04 23:58:53 -0300
committerFlorrie <towerofnix@gmail.com>2018-07-04 23:58:53 -0300
commitf4c4a51c99c7e00d2cebc705e9c2b3b13894c046 (patch)
treefcf19fc2a8e326e3215ca074dd59aac7a0581efb
parent47cd1be53f5940383f3bd25a3e498832ebc29d9f (diff)
Fix unhelpful youtube-dl warning
-rw-r--r--downloaders.js1
-rw-r--r--todo.txt4
2 files changed, 5 insertions, 0 deletions
diff --git a/downloaders.js b/downloaders.js
index 340abe6..4c93d0f 100644
--- a/downloaders.js
+++ b/downloaders.js
@@ -122,6 +122,7 @@ const downloaders = {
 
     const opts = [
       '--quiet',
+      '--no-warnings',
       '--extract-audio',
       '--audio-format', downloaders.extension,
       '--output', outFile,
diff --git a/todo.txt b/todo.txt
index 59a6d23..8707d4b 100644
--- a/todo.txt
+++ b/todo.txt
@@ -73,3 +73,7 @@ TODO: Make the tabber UI show handy information, like what tab you've got
 TODO: A "bookmarked playlists" list in the UI, so you can quickly load up
       playlists you often use. (Let anything go here, like YT playlist URLs,
       file paths, etc.)
+
+TODO: Get rid of "WARNING: unable to extract uploader nickname", which comes
+      from youtube-dl.
+      (Done!)