Add autoclose to dialog

Delete after playback
This commit is contained in:
angelblue05 2016-02-17 18:37:45 -06:00
parent 52a5d35295
commit 8e9efe9734
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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