mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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())
|
tracks = len(self.getAvailableAudioStreams())
|
||||||
|
|
||||||
if subtitle == -1:
|
if subtitle == -1 or subtitle is None:
|
||||||
self.showSubtitles(False)
|
self.showSubtitles(False)
|
||||||
|
|
||||||
elif mapping:
|
elif mapping:
|
||||||
|
@ -438,6 +438,7 @@ class Player(xbmc.Player):
|
||||||
delete = False
|
delete = False
|
||||||
|
|
||||||
if delete:
|
if delete:
|
||||||
|
LOG.info("Offer delete option")
|
||||||
|
|
||||||
if dialog("yesno", heading=_(30091), line1=_(33015), autoclose=120000):
|
if dialog("yesno", heading=_(30091), line1=_(33015), autoclose=120000):
|
||||||
item['Server']['api'].delete_item(item['Id'])
|
item['Server']['api'].delete_item(item['Id'])
|
||||||
|
|
Loading…
Reference in a new issue