0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[extractor/common] Prefix format id for audio only HLS formats

This commit is contained in:
Sergey M․ 2017-10-29 07:05:55 +07:00
parent 056653bbb1
commit 9211e3319e
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1401,7 +1401,7 @@ def extract_media(x_media_line):
media_url = media.get('URI') media_url = media.get('URI')
if media_url: if media_url:
format_id = [] format_id = []
for v in (group_id, name): for v in (m3u8_id, group_id, name):
if v: if v:
format_id.append(v) format_id.append(v)
f = { f = {