From b2634d6f96505d79025231c2631521d751717f62 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 9 Oct 2021 18:09:12 +0200 Subject: [PATCH 1/3] Update translations from Transifex --- .../resource.language.cs_CZ/strings.po | 15 +++++++++++++++ .../resource.language.da_DK/strings.po | 15 +++++++++++++++ .../resource.language.de_DE/strings.po | 15 +++++++++++++++ .../resource.language.el_GR/strings.po | 15 +++++++++++++++ .../resource.language.es_AR/strings.po | 15 +++++++++++++++ .../resource.language.es_ES/strings.po | 15 +++++++++++++++ .../resource.language.es_MX/strings.po | 15 +++++++++++++++ .../resource.language.fr_CA/strings.po | 15 +++++++++++++++ .../resource.language.fr_FR/strings.po | 15 +++++++++++++++ .../resource.language.hu_HU/strings.po | 15 +++++++++++++++ .../resource.language.it_IT/strings.po | 15 +++++++++++++++ .../resource.language.ko_KR/strings.po | 15 +++++++++++++++ .../resource.language.lt_LT/strings.po | 15 +++++++++++++++ .../resource.language.lv_LV/strings.po | 15 +++++++++++++++ .../resource.language.nl_NL/strings.po | 15 +++++++++++++++ .../resource.language.no_NO/strings.po | 15 +++++++++++++++ .../resource.language.pl_PL/strings.po | 19 +++++++++++++++++-- .../resource.language.pt_BR/strings.po | 15 +++++++++++++++ .../resource.language.pt_PT/strings.po | 15 +++++++++++++++ .../resource.language.ru_RU/strings.po | 15 +++++++++++++++ .../resource.language.sv_SE/strings.po | 15 +++++++++++++++ .../resource.language.uk_UA/strings.po | 15 +++++++++++++++ .../resource.language.zh_CN/strings.po | 15 +++++++++++++++ .../resource.language.zh_TW/strings.po | 15 +++++++++++++++ 24 files changed, 362 insertions(+), 2 deletions(-) diff --git a/resources/language/resource.language.cs_CZ/strings.po b/resources/language/resource.language.cs_CZ/strings.po index 1d4fcef7..13f7d9c6 100644 --- a/resources/language/resource.language.cs_CZ/strings.po +++ b/resources/language/resource.language.cs_CZ/strings.po @@ -702,6 +702,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Vynutit překódování obrázků" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.da_DK/strings.po b/resources/language/resource.language.da_DK/strings.po index 6470e370..c6162e93 100644 --- a/resources/language/resource.language.da_DK/strings.po +++ b/resources/language/resource.language.da_DK/strings.po @@ -702,6 +702,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Transcode billeder" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.de_DE/strings.po b/resources/language/resource.language.de_DE/strings.po index a0232cc1..7f18ec32 100644 --- a/resources/language/resource.language.de_DE/strings.po +++ b/resources/language/resource.language.de_DE/strings.po @@ -715,6 +715,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Bilder immer transkodieren" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "Ersten Videostream wählen, wenn mehrere Versionen vorhanden sind" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "Wer wählt den Audiotrack beim Start der Wiedergabe?" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "Wer wählt Untertitel beim Start der Wiedergabe?" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.el_GR/strings.po b/resources/language/resource.language.el_GR/strings.po index b016d88c..ac4eb2a2 100644 --- a/resources/language/resource.language.el_GR/strings.po +++ b/resources/language/resource.language.el_GR/strings.po @@ -690,6 +690,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.es_AR/strings.po b/resources/language/resource.language.es_AR/strings.po index ad88103e..299dc9e8 100644 --- a/resources/language/resource.language.es_AR/strings.po +++ b/resources/language/resource.language.es_AR/strings.po @@ -710,6 +710,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Obligar transcodificar fotografías" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.es_ES/strings.po b/resources/language/resource.language.es_ES/strings.po index ad6e4d14..ba8f2c17 100644 --- a/resources/language/resource.language.es_ES/strings.po +++ b/resources/language/resource.language.es_ES/strings.po @@ -712,6 +712,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Obligar transcodificar fotografías" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.es_MX/strings.po b/resources/language/resource.language.es_MX/strings.po index e57fbbb4..29c14f97 100644 --- a/resources/language/resource.language.es_MX/strings.po +++ b/resources/language/resource.language.es_MX/strings.po @@ -710,6 +710,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Obligar transcodificar fotografías" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.fr_CA/strings.po b/resources/language/resource.language.fr_CA/strings.po index eeb2598f..9714c428 100644 --- a/resources/language/resource.language.fr_CA/strings.po +++ b/resources/language/resource.language.fr_CA/strings.po @@ -715,6 +715,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forcer le transcodage des images" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.fr_FR/strings.po b/resources/language/resource.language.fr_FR/strings.po index 7e0ab03d..dd1ddb09 100644 --- a/resources/language/resource.language.fr_FR/strings.po +++ b/resources/language/resource.language.fr_FR/strings.po @@ -719,6 +719,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forcer le transcodage des images" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.hu_HU/strings.po b/resources/language/resource.language.hu_HU/strings.po index 9b9b765e..04cd89f3 100644 --- a/resources/language/resource.language.hu_HU/strings.po +++ b/resources/language/resource.language.hu_HU/strings.po @@ -718,6 +718,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Képek transzkódolásának kényszerítése" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.it_IT/strings.po b/resources/language/resource.language.it_IT/strings.po index 4d84902e..a08dee26 100644 --- a/resources/language/resource.language.it_IT/strings.po +++ b/resources/language/resource.language.it_IT/strings.po @@ -710,6 +710,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forza transcodifica immagini" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.ko_KR/strings.po b/resources/language/resource.language.ko_KR/strings.po index 7483d39b..7752a1f8 100644 --- a/resources/language/resource.language.ko_KR/strings.po +++ b/resources/language/resource.language.ko_KR/strings.po @@ -697,6 +697,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "사진 트랜스 코딩 강제" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.lt_LT/strings.po b/resources/language/resource.language.lt_LT/strings.po index aca329b1..c618ae10 100644 --- a/resources/language/resource.language.lt_LT/strings.po +++ b/resources/language/resource.language.lt_LT/strings.po @@ -706,6 +706,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Priverstinai perkoduoti nuotraukas" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.lv_LV/strings.po b/resources/language/resource.language.lv_LV/strings.po index 7c3e1a42..fd869e8b 100644 --- a/resources/language/resource.language.lv_LV/strings.po +++ b/resources/language/resource.language.lv_LV/strings.po @@ -699,6 +699,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Uzspiest attēlu pārkodēšanu" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.nl_NL/strings.po b/resources/language/resource.language.nl_NL/strings.po index abe4c3c3..0aacdd81 100644 --- a/resources/language/resource.language.nl_NL/strings.po +++ b/resources/language/resource.language.nl_NL/strings.po @@ -707,6 +707,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forceer transcoden van foto's" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.no_NO/strings.po b/resources/language/resource.language.no_NO/strings.po index 06af7807..c0e44000 100644 --- a/resources/language/resource.language.no_NO/strings.po +++ b/resources/language/resource.language.no_NO/strings.po @@ -704,6 +704,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Tving transkoding av bilde" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.pl_PL/strings.po b/resources/language/resource.language.pl_PL/strings.po index e1305f91..a0660851 100644 --- a/resources/language/resource.language.pl_PL/strings.po +++ b/resources/language/resource.language.pl_PL/strings.po @@ -3,7 +3,7 @@ # Croneter None , 2017 # Wiktor Dackiewicz , 2017 # Kacpolz , 2019 -# Top Secret , 2020 +# Ziuta , 2020 # msgid "" msgstr "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: croneter@gmail.com\n" "POT-Creation-Date: 2017-04-15 13:13+0000\n" "PO-Revision-Date: 2017-04-30 08:30+0000\n" -"Last-Translator: Top Secret , 2020\n" +"Last-Translator: Ziuta , 2020\n" "Language-Team: Polish (Poland) (https://www.transifex.com/croneter/teams/73837/pl_PL/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -695,6 +695,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.pt_BR/strings.po b/resources/language/resource.language.pt_BR/strings.po index b64dba90..71396a79 100644 --- a/resources/language/resource.language.pt_BR/strings.po +++ b/resources/language/resource.language.pt_BR/strings.po @@ -694,6 +694,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forçar transcodificação de imagens" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.pt_PT/strings.po b/resources/language/resource.language.pt_PT/strings.po index 7198699e..41484f77 100644 --- a/resources/language/resource.language.pt_PT/strings.po +++ b/resources/language/resource.language.pt_PT/strings.po @@ -697,6 +697,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Forçar transcodificação de imagens" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.ru_RU/strings.po b/resources/language/resource.language.ru_RU/strings.po index 3e80b3cb..047e8fab 100644 --- a/resources/language/resource.language.ru_RU/strings.po +++ b/resources/language/resource.language.ru_RU/strings.po @@ -711,6 +711,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Принудительно транскодировать изображения" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.sv_SE/strings.po b/resources/language/resource.language.sv_SE/strings.po index 8af56049..8d87d11c 100644 --- a/resources/language/resource.language.sv_SE/strings.po +++ b/resources/language/resource.language.sv_SE/strings.po @@ -706,6 +706,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Tvinga omkodning av bilder" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.uk_UA/strings.po b/resources/language/resource.language.uk_UA/strings.po index 3cdc4313..95be95d7 100644 --- a/resources/language/resource.language.uk_UA/strings.po +++ b/resources/language/resource.language.uk_UA/strings.po @@ -706,6 +706,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "Примусове перекодування зображень" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.zh_CN/strings.po b/resources/language/resource.language.zh_CN/strings.po index 955eaa48..d9eda772 100644 --- a/resources/language/resource.language.zh_CN/strings.po +++ b/resources/language/resource.language.zh_CN/strings.po @@ -689,6 +689,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "强制图片转码" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/language/resource.language.zh_TW/strings.po b/resources/language/resource.language.zh_TW/strings.po index 1df787d9..dfdcb423 100644 --- a/resources/language/resource.language.zh_TW/strings.po +++ b/resources/language/resource.language.zh_TW/strings.po @@ -687,6 +687,21 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "強制圖片轉碼" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30547" +msgid "Who picks the audio stream on playback start?" +msgstr "" + +# PKC Settings - Playback +msgctxt "#30548" +msgid "Who picks subtitles on playback start?" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" From 56755cf506a2986513bde4caa84d9a705ba09c4a Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 16 Oct 2021 11:40:43 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Fix=20Receiving=20init()=20missing=201=20re?= =?UTF-8?q?quired=20positional=20argument:=20=E2=80=98certification=5Fcoun?= =?UTF-8?q?try=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/lib/itemtypes/movies_tmdb.py | 35 ------------------- .../library_sync/additional_metadata_tmdb.py | 8 ++++- 2 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 resources/lib/itemtypes/movies_tmdb.py diff --git a/resources/lib/itemtypes/movies_tmdb.py b/resources/lib/itemtypes/movies_tmdb.py deleted file mode 100644 index 05f4e6da..00000000 --- a/resources/lib/itemtypes/movies_tmdb.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import logging -import os -import sys - -import xbmcvfs -import xbmcaddon - -# Import the existing Kodi add-on metadata.themoviedb.org.python -__ADDON__ = xbmcaddon.Addon(id='metadata.themoviedb.org.python') -__TEMP_PATH__ = os.path.join(__ADDON__.getAddonInfo('path'), 'python', 'lib') -__BASE__ = xbmcvfs.translatePath(__TEMP_PATH__) -sys.path.append(__BASE__) -import tmdbscraper.tmdb as tmdb - -logger = logging.getLogger('PLEX.movies_tmdb') - - -def get_tmdb_scraper(settings): - language = settings.getSettingString('language') - certcountry = settings.getSettingString('tmdbcertcountry') - return tmdb.TMDBMovieScraper(__ADDON__, language, certcountry) - - -# Instantiate once in order to prevent having to re-read the add-on settings -# for every single movie -__SCRAPER__ = get_tmdb_scraper(__ADDON__) - -def get_tmdb_details(unique_ids): - details = __SCRAPER__.get_details(unique_ids) - if 'error' in details: - logger.debug('Could not get tmdb details for %s. Error: %s', - unique_ids, details) - return details diff --git a/resources/lib/library_sync/additional_metadata_tmdb.py b/resources/lib/library_sync/additional_metadata_tmdb.py index 4afec456..c68e5714 100644 --- a/resources/lib/library_sync/additional_metadata_tmdb.py +++ b/resources/lib/library_sync/additional_metadata_tmdb.py @@ -27,7 +27,13 @@ TMDB_SUPPORTED_IDS = ('tmdb', 'imdb') def get_tmdb_scraper(settings): language = settings.getSettingString('language') certcountry = settings.getSettingString('tmdbcertcountry') - return tmdb.TMDBMovieScraper(settings, language, certcountry) + # Simplify this in the future + # See https://github.com/croneter/PlexKodiConnect/issues/1657 + search_language = settings.getSettingString('searchlanguage') + if search_language: + return tmdb.TMDBMovieScraper(settings, language, certcountry, search_language) + else: + return tmdb.TMDBMovieScraper(settings, language, certcountry) def get_tmdb_details(unique_ids): From 87eda6a207525634387573f3d703edfb230bc4be Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 16 Oct 2021 11:44:11 +0200 Subject: [PATCH 3/3] Stable and beta version bump 3.5.4 --- addon.xml | 8 ++++++-- changelog.txt | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index 035458a4..baf2693c 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -91,7 +91,11 @@ Plex를 Kodi에 기본 통합 Kodi를 Plex Media Server에 연결합니다. 이 플러그인은 Plex로 모든 비디오를 관리하고 Kodi로는 관리하지 않는다고 가정합니다. Kodi 비디오 및 음악 데이터베이스에 이미 저장된 데이터가 손실 될 수 있습니다 (이 플러그인이 직접 변경하므로). 자신의 책임하에 사용하십시오! 자신의 책임하에 사용 - version 3.5.3: + version 3.5.4: +- Fix Receiving init() missing 1 required positional argument: ‘certification_country’ +- Update translations from Transifex + +version 3.5.3: - Add playback settings to let the user choose whether Plex or Kodi provides the default audio or subtitle stream on playback start version 3.5.2: diff --git a/changelog.txt b/changelog.txt index 1c0e446f..956a19be 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +version 3.5.4: +- Fix Receiving init() missing 1 required positional argument: ‘certification_country’ +- Update translations from Transifex + version 3.5.3: - Add playback settings to let the user choose whether Plex or Kodi provides the default audio or subtitle stream on playback start