Fix ffmeta _run-ffprobe not working

This commit is contained in:
Nexus 2024-04-14 23:17:45 +01:00
parent 55c6e879ea
commit d6e8e8d17d
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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,
)