log ffmpeg commands

This commit is contained in:
Nexus 2024-01-26 19:13:31 +00:00
parent c0feda1ac7
commit 87b95a8157

View file

@ -182,6 +182,7 @@ class YTDLCog(commands.Cog):
"-y", "-y",
str(new_file) str(new_file)
] ]
self.log.debug("Running command: ffmpeg %s", " ".join(args))
process = subprocess.run( process = subprocess.run(
["ffmpeg", *args], ["ffmpeg", *args],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
@ -446,6 +447,7 @@ class YTDLCog(commands.Cog):
timestamp=discord.utils.utcnow() timestamp=discord.utils.utcnow()
) )
) )
self.log.debug("Running command: ffmpeg %s", " ".join(args))
process = await asyncio.create_subprocess_exec( process = await asyncio.create_subprocess_exec(
"ffmpeg", "ffmpeg",
*args, *args,