From 94c3d0bc5980c9a7c139838d903f9c97426f02cf Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 26 Aug 2019 23:17:40 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f37589825..ef15757bf 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ You can reach us for support on [Discord](https://discord.gg/MH2e2eb). If you find a bug, please open an issue on [Github](https://github.com/morpheus65535/bazarr/issues). # Feature Requests -If you need something that is not already part of Bazarr, feel free to create a feature request on [Github](https://github.com/morpheus65535/bazarr/issues). +If you need something that is not already part of Bazarr, feel free to create a feature request on [Feature Upvote](http://features.bazarr.media). ## Major Features Include: From 6c5e6c4da865e77a9a2eacc2a3fbc29c8561e1b3 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 26 Aug 2019 23:31:23 -0400 Subject: [PATCH 2/4] Delete feature_request.md --- .github/ISSUE_TEMPLATE/feature_request.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 066b2d920..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. From 2e5b0b49025914122ce06f219bd21baca9383900 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 9 Sep 2019 13:16:18 -0400 Subject: [PATCH 3/4] Fix for audio language profiles. --- bazarr/get_series.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bazarr/get_series.py b/bazarr/get_series.py index e69f09137..df2831fa7 100644 --- a/bazarr/get_series.py +++ b/bazarr/get_series.py @@ -87,12 +87,14 @@ def update_series(): if serie_default_enabled is True: series_to_add.append((show["title"], show["path"], show["tvdbId"], serie_default_language, serie_default_hi, show["id"], overview, poster, fanart, - profile_id_to_language(show['qualityProfileId'], audio_profiles), show['sortTitle'], + profile_id_to_language( + (show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles), show['sortTitle'], show['year'], alternateTitles, serie_default_forced)) else: series_to_add.append((show["title"], show["path"], show["tvdbId"], show["tvdbId"], show["tvdbId"], show["id"], overview, poster, fanart, - profile_id_to_language(show['qualityProfileId'], audio_profiles), show['sortTitle'], + profile_id_to_language( + (show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles), show['sortTitle'], show['year'], alternateTitles, show["id"])) # Update or insert series in DB From e7bebc495f1d5ba9ee454b6d2cc4ecef27e84b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 18 Sep 2019 11:35:19 -0400 Subject: [PATCH 4/4] Fix for Python minor version containing something else than digits. --- bazarr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bazarr.py b/bazarr.py index 4448dc16c..1166ad7f4 100644 --- a/bazarr.py +++ b/bazarr.py @@ -5,6 +5,7 @@ import time import os import sys import platform +import re from bazarr.get_args import args @@ -18,7 +19,7 @@ def check_python_version(): print "Python 3 isn't supported. Please use Python " + minimum_python_version + " or greater." os._exit(0) - elif int(python_version[1]) < minimum_python_version_tuple[1] or int(python_version[2].rstrip('+')) < minimum_python_version_tuple[2]: + elif int(python_version[1]) < minimum_python_version_tuple[1] or int(re.search(r'\d+', python_version[2]).group()) < minimum_python_version_tuple[2]: print "Python " + minimum_python_version + " or greater required. Current version is " + platform.python_version() + ". Please upgrade Python." os._exit(0)