mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Follow emby settings for subtitles
This commit is contained in:
parent
d5f9b76020
commit
f365078877
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,7 @@ class Player(xbmc.Player):
|
|||
|
||||
tracks = len(self.getAvailableAudioStreams())
|
||||
|
||||
if subtitle == -1:
|
||||
if subtitle == -1 or subtitle is None:
|
||||
self.showSubtitles(False)
|
||||
|
||||
elif mapping:
|
||||
|
@ -438,6 +438,7 @@ class Player(xbmc.Player):
|
|||
delete = False
|
||||
|
||||
if delete:
|
||||
LOG.info("Offer delete option")
|
||||
|
||||
if dialog("yesno", heading=_(30091), line1=_(33015), autoclose=120000):
|
||||
item['Server']['api'].delete_item(item['Id'])
|
||||
|
|
Loading…
Reference in a new issue