From f6a9cee3c0329a11cf9cfdcf3868de2afd2f0f78 Mon Sep 17 00:00:00 2001 From: Michiel van Baak Date: Fri, 26 Feb 2021 15:07:18 +0100 Subject: [PATCH] Fixed embedded subtitles detection for Brazilian that are sometimes marked with the word "brazil" instead of "brasil" --- bazarr/embedded_subs_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: