Fixed embedded subtitles detection for Brazilian that are sometimes marked with the word "brazil" instead of "brasil"

This commit is contained in:
Michiel van Baak 2021-02-26 15:07:18 +01:00 committed by GitHub
parent d0f50a2e99
commit f6a9cee3c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class EmbeddedSubsReader:
data = api.know(file)
traditional_chinese = ["cht", "tc", "traditional", "zht", "hant", "big5", u"", u"雙語"]
brazilian_portuguese = ["pt-br", "pob", "pb", "brazilian", "brasil"]
brazilian_portuguese = ["pt-br", "pob", "pb", "brazilian", "brasil", "brazil"]
if 'subtitle' in data:
for detected_language in data['subtitle']: