mirror of https://github.com/yt-dlp/yt-dlp.git
[ie/beacon] Fix regression where subtitle languages were not lowercased
This commit is contained in:
parent
6491712ede
commit
ccd217057e
|
@ -80,6 +80,8 @@ class BeaconTvIE(InfoExtractor):
|
|||
language = traverse_obj(track, 'language')
|
||||
if language is None:
|
||||
language = "en"
|
||||
else:
|
||||
language = language.lower()
|
||||
subs = {language: [{'url': file}]}
|
||||
self._merge_subtitles(subs, target=subtitles)
|
||||
|
||||
|
|
Loading…
Reference in New Issue