From cdee142d453318a9a7bab98d8efad65c02faa7c9 Mon Sep 17 00:00:00 2001 From: nex Date: Thu, 25 May 2023 22:47:34 +0100 Subject: [PATCH] prefer h264/mp4 --- cogs/other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index dfb1b30..bcf2b2d 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1223,7 +1223,8 @@ class OtherCog(commands.Cog): "logger": logger, "format": _format or f"(bv*+ba/bv/ba/b)[filesize<={MAX_SIZE_MB}M]", "paths": paths, - "outtmpl": f"{ctx.user.id}-%(title)s.%(ext)s" + "outtmpl": f"{ctx.user.id}-%(title)s.%(ext)s", + "format_sort": "codec:h264,ext" } ) as downloader: try: