Fix ffmeta _run-ffprobe not working
This commit is contained in:
parent
55c6e879ea
commit
d6e8e8d17d
1 changed files with 1 additions and 5 deletions
|
@ -42,11 +42,7 @@ class FFMeta(commands.Cog):
|
|||
cmd = ["-hide_banner", "-i", str(uri)]
|
||||
process = await asyncio.create_subprocess_exec(
|
||||
"ffprobe",
|
||||
"-v", "quiet",
|
||||
"-print_format", "json" if as_json else "default",
|
||||
"-show_format",
|
||||
"-i",
|
||||
str(uri),
|
||||
*cmd
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue