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

pull/1302/head
Michiel van Baak 4 years ago committed by GitHub
parent d0f50a2e99
commit f6a9cee3c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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']:

Loading…
Cancel
Save