From 73df77984de9a7e371b25647c29e8b6a8d640736 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 13 Oct 2019 22:41:34 -0400 Subject: [PATCH 1/2] Fix for #630 --- libs/pyprobe/ffprobeparsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pyprobe/ffprobeparsers.py b/libs/pyprobe/ffprobeparsers.py index 36a395c53..64ad05d10 100644 --- a/libs/pyprobe/ffprobeparsers.py +++ b/libs/pyprobe/ffprobeparsers.py @@ -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" From b7049c79cea00aa0d179a05cce293f12bde48ec8 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 14 Oct 2019 08:45:04 -0400 Subject: [PATCH 2/2] Fix for #620 --- bazarr/check_update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bazarr/check_update.py b/bazarr/check_update.py index 08b1946fc..4e800edba 100644 --- a/bazarr/check_update.py +++ b/bazarr/check_update.py @@ -294,7 +294,8 @@ def request_json(url, **kwargs): def updated(restart=True): if settings.general.getboolean('update_restart') and restart: try: - requests.get(bazarr_url + 'restart') + from main import restart + restart() except requests.ConnectionError: logging.info('BAZARR Restart failed, please restart Bazarr manualy') updated(restart=False)