[1tv] Lower preference for http formats (closes #13246)

pull/11205/merge
Sergey M․ 2017-06-01 22:19:52 +07:00
parent 4489d41816
commit f7a747ce59
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ class FirstTVIE(InfoExtractor):
'format_id': f.get('name'), 'format_id': f.get('name'),
'tbr': tbr, 'tbr': tbr,
'source_preference': quality(f.get('name')), 'source_preference': quality(f.get('name')),
# quality metadata of http formats may be incorrect
'preference': -1,
}) })
# m3u8 URL format is reverse engineered from [1] (search for # m3u8 URL format is reverse engineered from [1] (search for
# master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru) # master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru)