Extend function to get free file

This commit is contained in:
ByteDream 2022-12-02 22:06:08 +01:00
parent e9b3088cde
commit afab3826c9
6 changed files with 37 additions and 17 deletions

View file

@ -206,8 +206,7 @@ impl Execute for Archive {
.to_string(),
primary,
)),
)
.0;
);
info!(
"Downloading {} to '{}'",
@ -387,7 +386,7 @@ async fn download_video(ctx: &Context, format: &Format, only_audio: bool) -> Res
ctx,
&mut ffmpeg.stdin.unwrap(),
Some(format!("Download {}", format.audio)),
format.stream.clone()
format.stream.clone(),
)
.await?;