mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Fix subs
This commit is contained in:
parent
20ca36d95a
commit
7b5d24cd58
1 changed files with 3 additions and 3 deletions
|
@ -235,10 +235,10 @@ class PlaybackUtils():
|
||||||
|
|
||||||
# Append external subtitles to stream
|
# Append external subtitles to stream
|
||||||
playmethod = utils.window('%s.playmethod' % embyitem)
|
playmethod = utils.window('%s.playmethod' % embyitem)
|
||||||
# Only for direct play and direct stream
|
# Only for direct stream
|
||||||
subtitles = self.externalSubs(playurl)
|
if playmethod in ("DirectStream"):
|
||||||
if playmethod != "Transcode":
|
|
||||||
# Direct play automatically appends external
|
# Direct play automatically appends external
|
||||||
|
subtitles = self.externalSubs(playurl)
|
||||||
listitem.setSubtitles(subtitles)
|
listitem.setSubtitles(subtitles)
|
||||||
|
|
||||||
self.setArtwork(listitem)
|
self.setArtwork(listitem)
|
||||||
|
|
Loading…
Reference in a new issue