From: Sergey M․ Date: Sun, 22 Feb 2015 21:30:10 +0000 (+0600) Subject: [extractor/common] Fix preference for m3u8 quality selection URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9fe6ef7ab249af1bd8f302d37dc6c13a2e4817f1;p=youtube-dl [extractor/common] Fix preference for m3u8 quality selection URL --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index d3f86cf4a..79f6d199b 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -833,7 +833,7 @@ class InfoExtractor(object): 'url': m3u8_url, 'ext': ext, 'protocol': 'm3u8', - 'preference': -1, + 'preference': preference - 1 if preference else -1, 'resolution': 'multiple', 'format_note': 'Quality selection URL', }]