mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix subtitles defaulting to srt
Will now use the codec provided by server (srt, ass, ssa)
This commit is contained in:
parent
03e8b2ec86
commit
78655ccb28
1 changed files with 2 additions and 2 deletions
|
@ -265,8 +265,8 @@ class PlaybackUtils():
|
|||
stream['IsExternal'] and stream['IsTextSubtitleStream']):
|
||||
|
||||
# Direct stream
|
||||
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.srt"
|
||||
% (self.server, itemid, itemid, index))
|
||||
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.%s"
|
||||
% (self.server, itemid, itemid, index, stream['Codec']))
|
||||
|
||||
if "Language" in stream:
|
||||
|
||||
|
|
Loading…
Reference in a new issue