mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-09 02:12:04 +00:00
playutils: Do not burn external subs
Signed-off-by: Michal Chvíla <michal@chvila.sk>
This commit is contained in:
parent
aa22e9cea0
commit
43a7489e19
1 changed files with 3 additions and 2 deletions
|
@ -701,9 +701,10 @@ class PlayUtils(object):
|
|||
if subtitle_selected_index is not None:
|
||||
server_settings = self.api_client.get_transcode_settings()
|
||||
stream = streams[subtitle_selected_index]
|
||||
|
||||
if (
|
||||
server_settings["EnableSubtitleExtraction"]
|
||||
and stream["SupportsExternalStream"]
|
||||
stream["SupportsExternalStream"]
|
||||
and (stream['IsExternal'] or server_settings["EnableSubtitleExtraction"])
|
||||
):
|
||||
self.info["SubtitleUrl"] = self.get_subtitles(
|
||||
source, stream, subtitle_selected_index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue