Fix PlexKodiConnect setting the Plex subtitle to None

This commit is contained in:
croneter 2021-09-03 18:29:26 +02:00
parent 2dd60a4f4a
commit 789d8459d1

View file

@ -339,14 +339,6 @@ def audio_subtitle_prefs(api, item):
return
part_id = mediastreams.attrib['id']
if item.playmethod != v.PLAYBACK_METHOD_TRANSCODE:
LOG.debug('Telling PMS we are not burning in any subtitles')
args = {
'subtitleStreamID': 0,
'allParts': 1
}
DU().downloadUrl('{server}/library/parts/%s' % part_id,
action_type='PUT',
parameters=args)
return True
return setup_transcoding_audio_subtitle_prefs(mediastreams, part_id)