From 2c8e03d937cc08d0d924b24a95fcc2eb3076e544 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 30 Oct 2014 09:40:52 +0100 Subject: [PATCH] Sort formats by fps as well --- youtube_dl/extractor/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 3300734bc..7e4113213 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -619,6 +619,7 @@ class InfoExtractor(object): f.get('vbr') if f.get('vbr') is not None else -1, f.get('abr') if f.get('abr') is not None else -1, audio_ext_preference, + f.get('fps') if f.get('fps') is not None else -1, f.get('filesize') if f.get('filesize') is not None else -1, f.get('filesize_approx') if f.get('filesize_approx') is not None else -1, f.get('source_preference') if f.get('source_preference') is not None else -1, -- 2.22.2