From: Sergey M․ Date: Sun, 15 Oct 2017 22:48:45 +0000 (+0700) Subject: [drtv] Respect preference for direct http formats (#14509) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=83fcf19e2d517a2862fd89dffb1d0abad024a5b9;p=youtube-dl [drtv] Respect preference for direct http formats (#14509) --- diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py index 69effba58..f757745ba 100644 --- a/youtube_dl/extractor/drtv.py +++ b/youtube_dl/extractor/drtv.py @@ -138,6 +138,7 @@ class DRTVIE(InfoExtractor): 'tbr': int_or_none(bitrate), 'ext': link.get('FileFormat'), 'vcodec': 'none' if kind == 'AudioResource' else None, + 'preference': preference, }) subtitles_list = asset.get('SubtitlesList') if isinstance(subtitles_list, list):