mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
[brightcove] fix format sorting
This commit is contained in:
parent
fe7ef95e91
commit
08136dc138
@ -396,6 +396,7 @@ class BrightcoveNewIE(InfoExtractor):
|
|||||||
'formats': 'mincount:41',
|
'formats': 'mincount:41',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
|
# m3u8 download
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
@ -533,7 +534,7 @@ class BrightcoveNewIE(InfoExtractor):
|
|||||||
f.update({
|
f.update({
|
||||||
'url': src or streaming_src,
|
'url': src or streaming_src,
|
||||||
'format_id': build_format_id('http' if src else 'http-streaming'),
|
'format_id': build_format_id('http' if src else 'http-streaming'),
|
||||||
'preference': 2 if src else 1,
|
'source_preference': 0 if src else -1,
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
f.update({
|
f.update({
|
||||||
|
@ -19,6 +19,10 @@ class TheStarIE(InfoExtractor):
|
|||||||
'uploader_id': '794267642001',
|
'uploader_id': '794267642001',
|
||||||
'timestamp': 1454353482,
|
'timestamp': 1454353482,
|
||||||
'upload_date': '20160201',
|
'upload_date': '20160201',
|
||||||
|
},
|
||||||
|
'params': {
|
||||||
|
# m3u8 download
|
||||||
|
'skip_download': True,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BRIGHTCOVE_URL_TEMPLATE = 'http://players.brightcove.net/794267642001/default_default/index.html?videoId=%s'
|
BRIGHTCOVE_URL_TEMPLATE = 'http://players.brightcove.net/794267642001/default_default/index.html?videoId=%s'
|
||||||
|
@ -21,6 +21,7 @@ class TV3IE(InfoExtractor):
|
|||||||
'Failed to download MPD manifest'
|
'Failed to download MPD manifest'
|
||||||
],
|
],
|
||||||
'params': {
|
'params': {
|
||||||
|
# m3u8 download
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user