From 126f225bcffbdc55725fe2272daf22489abacf54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Caletka?= Date: Sat, 30 Dec 2017 22:02:46 +0100 Subject: [PATCH] [extractor/common] Add container meta field for formats extracted in _parse_mpd_formats --- 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 5e7e7a3f7..5b6a09c0b 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1880,6 +1880,7 @@ class InfoExtractor(object): 'language': lang if lang not in ('mul', 'und', 'zxx', 'mis') else None, 'format_note': 'DASH %s' % content_type, 'filesize': filesize, + 'container': mimetype2ext(mime_type) + '_dash', } f.update(parse_codecs(representation_attrib.get('codecs'))) representation_ms_info = extract_multisegment_info(representation, adaption_set_ms_info) -- 2.30.2