mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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']):
|
stream['IsExternal'] and stream['IsTextSubtitleStream']):
|
||||||
|
|
||||||
# Direct stream
|
# Direct stream
|
||||||
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.srt"
|
url = ("%s/Videos/%s/%s/Subtitles/%s/Stream.%s"
|
||||||
% (self.server, itemid, itemid, index))
|
% (self.server, itemid, itemid, index, stream['Codec']))
|
||||||
|
|
||||||
if "Language" in stream:
|
if "Language" in stream:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue