From 658fd830c15a5751c57290ee858eea7a92f20ae5 Mon Sep 17 00:00:00 2001 From: Kyle Simpson Date: Sun, 24 Jan 2021 00:40:34 +0000 Subject: [PATCH] Fix: Prevent ytdl treating warnings as errors. Simple enough change to handle this for now, in that it just tells ytdl to silence errors. Closes #37. --- src/input/ytdl_src.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input/ytdl_src.rs b/src/input/ytdl_src.rs index 90e836bb8..0ced1318b 100644 --- a/src/input/ytdl_src.rs +++ b/src/input/ytdl_src.rs @@ -42,6 +42,7 @@ pub(crate) async fn _ytdl(uri: &str, pre_args: &[&str]) -> Result { "infinite", "--no-playlist", "--ignore-config", + "--no-warnings", uri, "-o", "-", @@ -125,6 +126,7 @@ pub(crate) async fn _ytdl_metadata(uri: &str) -> Result { "infinite", "--no-playlist", "--ignore-config", + "--no-warnings", uri, "-o", "-",