summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichiel van Baak <[email protected]>2021-02-26 15:07:18 +0100
committerGitHub <[email protected]>2021-02-26 09:07:18 -0500
commitf6a9cee3c0329a11cf9cfdcf3868de2afd2f0f78 (patch)
tree2d0ed73a68a18bf18621db9a43fc8d75f9e8f95e
parentd0f50a2e99d8e13e3ab0c406f26e7ebfa0d3cf95 (diff)
downloadbazarr-f6a9cee3c0329a11cf9cfdcf3868de2afd2f0f78.tar.gz
bazarr-f6a9cee3c0329a11cf9cfdcf3868de2afd2f0f78.zip
Fixed embedded subtitles detection for Brazilian that are sometimes marked with the word "brazil" instead of "brasil"
-rw-r--r--bazarr/embedded_subs_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/embedded_subs_reader.py b/bazarr/embedded_subs_reader.py
index ee5b3b278..fda402d4a 100644
--- a/bazarr/embedded_subs_reader.py
+++ b/bazarr/embedded_subs_reader.py
@@ -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']: