fix: Add --no-mtime flag to scdl downloads
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
parent
0dbbf6a369
commit
cd3748d33f
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ fn download_media(video_url: &str, download_path: &Path, settings: &Settings) ->
|
||||||
} else if video_url.contains("soundcloud.com") {
|
} else if video_url.contains("soundcloud.com") {
|
||||||
println!("[INFO] Soundcloud link detected. Using scdl...");
|
println!("[INFO] Soundcloud link detected. Using scdl...");
|
||||||
cmd = Command::new("scdl");
|
cmd = Command::new("scdl");
|
||||||
cmd.args(["-l", video_url]);
|
cmd.args(["-l", video_url, "--no-mtime"]);
|
||||||
} else {
|
} else {
|
||||||
println!("[INFO] Non-Apple Music link. Using yt-dlp...");
|
println!("[INFO] Non-Apple Music link. Using yt-dlp...");
|
||||||
cmd = Command::new("yt-dlp");
|
cmd = Command::new("yt-dlp");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue