Skip to content

Commit

Permalink
Fix: Prevent ytdl treating warnings as errors.
Browse files Browse the repository at this point in the history
Simple enough change to handle this for now, in that it just tells ytdl to silence errors.

Closes #37.
  • Loading branch information
FelixMcFelix committed Jan 24, 2021
1 parent 196d5be commit 658fd83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/ytdl_src.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"-",
Expand Down Expand Up @@ -125,6 +126,7 @@ pub(crate) async fn _ytdl_metadata(uri: &str) -> Result<Metadata> {
"infinite",
"--no-playlist",
"--ignore-config",
"--no-warnings",
uri,
"-o",
"-",
Expand Down

0 comments on commit 658fd83

Please sign in to comment.