fix: yt-dlp errors for playlist parsing

This commit is contained in:
2024-08-16 14:33:22 +02:00
parent c27d1f70da
commit 09b0d6fd9d

View File

@@ -132,6 +132,7 @@ async fn parse_data(data: String) -> VecDeque<String> {
.unwrap(); .unwrap();
let list = Command::new("yt-dlp") let list = Command::new("yt-dlp")
.args(["--username", "oauth2", "--password", "''"])
.args(["-j", "--flat-playlist", track]) .args(["-j", "--flat-playlist", track])
.output() .output()
.expect("Failed to execute process") .expect("Failed to execute process")