Merge pull request #1606 from croneter/fix-subs

Fix PlexKodiConnect setting the Plex subtitle to None
This commit is contained in:
croneter 2021-09-04 16:46:50 +02:00 committed by GitHub
commit 41855882ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -340,14 +340,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)