From f15ef8886a7b84eff7f566f2b2df2d6d83cbac17 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 5 Jun 2021 14:54:13 +0200 Subject: [PATCH] Fix auto-picking of video stream if several video versions are available --- resources/language/resource.language.en_gb/strings.po | 5 +++++ resources/lib/plex_api/media.py | 2 +- resources/settings.xml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index fcc80e22..c83b1fe0 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -660,6 +660,11 @@ msgctxt "#30545" msgid "Force transcode pictures" msgstr "" +# PKC Settings - Playback +msgctxt "#30546" +msgid "Pick the first video if several versions are present" +msgstr "" + # Welcome to Plex notification msgctxt "#33000" msgid "Welcome" diff --git a/resources/lib/plex_api/media.py b/resources/lib/plex_api/media.py index adf27514..52e10262 100644 --- a/resources/lib/plex_api/media.py +++ b/resources/lib/plex_api/media.py @@ -178,7 +178,7 @@ class Media(object): count += 1 if (count > 1 and ( (self.plex_type != v.PLEX_TYPE_CLIP and - utils.settings('bestQuality') == 'false') + utils.settings('firstVideoStream') == 'false') or (self.plex_type == v.PLEX_TYPE_CLIP and utils.settings('bestTrailer') == 'false'))): diff --git a/resources/settings.xml b/resources/settings.xml index fda93768..bb6924db 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -113,6 +113,7 @@ +