mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Add autoclose to dialog
Delete after playback
This commit is contained in:
parent
52a5d35295
commit
8e9efe9734
2 changed files with 2 additions and 2 deletions
|
@ -314,7 +314,7 @@
|
|||
<string id="33012">Direct play failed 3 times. Enabled play from HTTP.</string>
|
||||
<string id="33013">Choose the audio stream</string>
|
||||
<string id="33014">Choose the subtitles stream</string>
|
||||
<string id="33015">Delete file on your Emby server?</string>
|
||||
<string id="33015">Delete file from your Emby server?</string>
|
||||
<string id="33016">Play trailers?</string>
|
||||
<string id="33017">Gathering movies from:</string>
|
||||
<string id="33018">Gathering boxsets</string>
|
||||
|
|
|
@ -490,7 +490,7 @@ class Player(xbmc.Player):
|
|||
offerDelete = False
|
||||
|
||||
if percentComplete >= markPlayedAt and offerDelete:
|
||||
resp = xbmcgui.Dialog().yesno(lang(30091), lang(33015))
|
||||
resp = xbmcgui.Dialog().yesno(lang(30091), lang(33015), autoclose=120000)
|
||||
if not resp:
|
||||
log("User skipped deletion.", 1)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue