log ffmpeg commands
This commit is contained in:
parent
c0feda1ac7
commit
87b95a8157
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue