Merge pull request #1760 from croneter/py3-fix-subs

Fix PKC not picking the correct Plex subtitle
This commit is contained in:
croneter 2021-12-29 16:03:14 +01:00 committed by GitHub
commit 2ce8f79768
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -377,7 +377,7 @@ class PlaylistItem(object):
enabled = js.get_subtitle_enabled(self.playerid) enabled = js.get_subtitle_enabled(self.playerid)
if current != kodi_index: if current != kodi_index:
LOG.debug('Switching subtitle stream') LOG.debug('Switching subtitle stream')
app.APP.player.setAudioStream(kodi_index) app.APP.player.setSubtitleStream(kodi_index)
else: else:
LOG.debug('Not switching subtitle stream (no change)') LOG.debug('Not switching subtitle stream (no change)')
if not enabled: if not enabled: