Revert "Fix PlexKodiConnect changing subtitles for all videos on the PMS"

This reverts commit 4de0920bf5.
This commit is contained in:
croneter 2021-09-04 16:06:30 +02:00
parent e049f37da9
commit c99db1edff

View file

@ -342,7 +342,8 @@ def audio_subtitle_prefs(api, item):
if item.playmethod != v.PLAYBACK_METHOD_TRANSCODE: if item.playmethod != v.PLAYBACK_METHOD_TRANSCODE:
LOG.debug('Telling PMS we are not burning in any subtitles') LOG.debug('Telling PMS we are not burning in any subtitles')
args = { args = {
'subtitleStreamID': 0 'subtitleStreamID': 0,
'allParts': 1
} }
DU().downloadUrl('{server}/library/parts/%s' % part_id, DU().downloadUrl('{server}/library/parts/%s' % part_id,
action_type='PUT', action_type='PUT',
@ -457,7 +458,8 @@ def setup_transcoding_audio_subtitle_prefs(mediastreams, part_id):
select_subs_index = subtitle_streams_list[resp - 1] select_subs_index = subtitle_streams_list[resp - 1]
# Now prep the PMS for our choice # Now prep the PMS for our choice
args = { args = {
'subtitleStreamID': select_subs_index 'subtitleStreamID': select_subs_index,
'allParts': 1
} }
DU().downloadUrl('{server}/library/parts/%s' % part_id, DU().downloadUrl('{server}/library/parts/%s' % part_id,
action_type='PUT', action_type='PUT',