From f3b97e42f8be038922e269476ca038c3720097d5 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 7e9678aa..bc1515e1 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -665,6 +665,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 7c9d6b86..0f9586d1 100644 --- a/resources/lib/plex_api/media.py +++ b/resources/lib/plex_api/media.py @@ -205,7 +205,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 f707d67d..cb059b9c 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -114,6 +114,7 @@ +