mirror of
https://git.wownero.com/dsc/ircradio.git
synced 2024-08-15 01:03:15 +00:00
fix yt-dlp path
This commit is contained in:
parent
311e3279bf
commit
238022c052
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ class YouTube:
|
||||||
raise Exception("Song already exists.")
|
raise Exception("Song already exists.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
path_yt_dlp = os.path.join(settings.cwd, "venv", "bin", "yt-dlp")
|
||||||
proc = await asyncio.create_subprocess_exec(
|
proc = await asyncio.create_subprocess_exec(
|
||||||
*["yt-dlp",
|
*[path_yt_dlp,
|
||||||
"--add-metadata",
|
"--add-metadata",
|
||||||
"--write-all-thumbnails",
|
"--write-all-thumbnails",
|
||||||
"--write-info-json",
|
"--write-info-json",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue