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",