fix: pass thumbnail arguments to scdl via --yt-dlp-args
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
parent
c5addb147e
commit
8b53f310cf
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@ fn download_media(video_url: &str, download_path: &Path, settings: &Settings) ->
|
||||||
"-l",
|
"-l",
|
||||||
video_url,
|
video_url,
|
||||||
"-c",
|
"-c",
|
||||||
"--write-thumbnail",
|
"--yt-dlp-args",
|
||||||
"--embed-thumbnail",
|
"--embed-thumbnail --write-thumbnail",
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
println!("[INFO] Non-Apple Music link. Using yt-dlp...");
|
println!("[INFO] Non-Apple Music link. Using yt-dlp...");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue