From 238022c05247597a32d5eabe860c414504099b86 Mon Sep 17 00:00:00 2001 From: dsc Date: Sat, 2 Sep 2023 21:38:14 +0300 Subject: [PATCH] fix yt-dlp path --- ircradio/youtube.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircradio/youtube.py b/ircradio/youtube.py index d9bc6c1..b7bedde 100644 --- a/ircradio/youtube.py +++ b/ircradio/youtube.py @@ -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",