[ie/beacon] Fix regression where subtitle languages were not lowercased

This commit is contained in:
Deukhoofd 2024-05-25 18:34:11 +02:00
parent 6491712ede
commit ccd217057e
No known key found for this signature in database
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

@ -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)