fix yt-dlp path

This commit is contained in:
dsc 2023-09-02 21:38:14 +03:00
parent 311e3279bf
commit 238022c052
1 changed files with 2 additions and 1 deletions

View File

@ -33,8 +33,9 @@ class YouTube:
raise Exception("Song already exists.")
try:
path_yt_dlp = os.path.join(settings.cwd, "venv", "bin", "yt-dlp")
proc = await asyncio.create_subprocess_exec(
*["yt-dlp",
*[path_yt_dlp,
"--add-metadata",
"--write-all-thumbnails",
"--write-info-json",