[kaltura] Assume ttml to be default subtitles' extension
This commit is contained in:
parent
a809446750
commit
fddaa76a59
@ -266,7 +266,7 @@ class KalturaIE(InfoExtractor):
|
|||||||
continue
|
continue
|
||||||
subtitles.setdefault(caption.get('languageCode') or caption.get('language'), []).append({
|
subtitles.setdefault(caption.get('languageCode') or caption.get('language'), []).append({
|
||||||
'url': '%s/api_v3/service/caption_captionasset/action/serve/captionAssetId/%s' % (self._SERVICE_URL, caption['id']),
|
'url': '%s/api_v3/service/caption_captionasset/action/serve/captionAssetId/%s' % (self._SERVICE_URL, caption['id']),
|
||||||
'ext': caption.get('fileExt'),
|
'ext': caption.get('fileExt', 'ttml'),
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user