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)]
|
cmd = ["-hide_banner", "-i", str(uri)]
|
||||||
process = await asyncio.create_subprocess_exec(
|
process = await asyncio.create_subprocess_exec(
|
||||||
"ffprobe",
|
"ffprobe",
|
||||||
"-v", "quiet",
|
*cmd
|
||||||
"-print_format", "json" if as_json else "default",
|
|
||||||
"-show_format",
|
|
||||||
"-i",
|
|
||||||
str(uri),
|
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
stderr=asyncio.subprocess.PIPE,
|
stderr=asyncio.subprocess.PIPE,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue