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.
This commit is contained in:
@@ -42,6 +42,7 @@ pub(crate) async fn _ytdl(uri: &str, pre_args: &[&str]) -> Result<Input> {
|
||||
"infinite",
|
||||
"--no-playlist",
|
||||
"--ignore-config",
|
||||
"--no-warnings",
|
||||
uri,
|
||||
"-o",
|
||||
"-",
|
||||
@@ -125,6 +126,7 @@ pub(crate) async fn _ytdl_metadata(uri: &str) -> Result<Metadata> {
|
||||
"infinite",
|
||||
"--no-playlist",
|
||||
"--ignore-config",
|
||||
"--no-warnings",
|
||||
uri,
|
||||
"-o",
|
||||
"-",
|
||||
|
||||
Reference in New Issue
Block a user