add --no-playlist tag when calling yt-dlp

This commit is contained in:
Oleg Sobolev 2024-03-25 17:46:29 +07:00
parent 285384be22
commit d6b2b54d13

View file

@ -16,6 +16,7 @@ pub fn download_from_youtube(url: &str) -> Result<TrackInfo, DownloadError> {
"--print",
"%(id)s",
"--no-simulate",
"--no-playlist",
"--",
url,
])