From b738688096bba7ece44c399af1eb387538923df6 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 3 Sep 2021 17:46:39 +0200 Subject: [PATCH] Revert "Fix PlexKodiConnect changing subtitles for all videos on the PMS" This reverts commit 3ef55f55267a220c110a3e69d417fe879e2da29d. --- resources/lib/playback_decision.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lib/playback_decision.py b/resources/lib/playback_decision.py index 3622e5be..4e77f15b 100644 --- a/resources/lib/playback_decision.py +++ b/resources/lib/playback_decision.py @@ -341,7 +341,8 @@ def audio_subtitle_prefs(api, item): if item.playmethod != v.PLAYBACK_METHOD_TRANSCODE: LOG.debug('Telling PMS we are not burning in any subtitles') args = { - 'subtitleStreamID': 0 + 'subtitleStreamID': 0, + 'allParts': 1 } DU().downloadUrl('{server}/library/parts/%s' % part_id, action_type='PUT', @@ -456,7 +457,8 @@ def setup_transcoding_audio_subtitle_prefs(mediastreams, part_id): select_subs_index = subtitle_streams_list[resp - 1] # Now prep the PMS for our choice args = { - 'subtitleStreamID': select_subs_index + 'subtitleStreamID': select_subs_index, + 'allParts': 1 } DU().downloadUrl('{server}/library/parts/%s' % part_id, action_type='PUT',