From: Yen Chi Hsuan Date: Sun, 24 Jan 2016 17:01:15 +0000 (+0800) Subject: [utils] Reorder items in mimetype2ext alphabetically X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a0d8d704df5ff3098b86e741f238d53de1711198;p=youtube-dl [utils] Reorder items in mimetype2ext alphabetically --- diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 178d1dcb3..c63b61598 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1828,11 +1828,11 @@ def mimetype2ext(mt): _, _, res = mt.rpartition('/') return { - 'x-ms-wmv': 'wmv', - 'x-mp4-fragmented': 'mp4', - 'ttml+xml': 'ttml', '3gpp': '3gp', + 'ttml+xml': 'ttml', 'x-flv': 'flv', + 'x-mp4-fragmented': 'mp4', + 'x-ms-wmv': 'wmv', }.get(res, res)