This commit is contained in:
morpheus65535 2019-10-13 22:41:34 -04:00 committed by GitHub
parent 474f9368fd
commit 73df77984d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ class SubtitleStreamParser(BaseParser):
"""Returns a string """
tags = data.get("tags", None)
if tags:
info = tags.get("language", None)
info = tags.get("language", None) or tags.get("LANGUAGE", None)
return info, (info or "null")
return None, "null"