From 8e9efe9734371f7a977f0006f85136ee989916f7 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 17 Feb 2016 18:37:45 -0600 Subject: [PATCH] Add autoclose to dialog Delete after playback --- resources/language/English/strings.xml | 2 +- resources/lib/player.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 15ecc74e..d20dbf0e 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -314,7 +314,7 @@ Direct play failed 3 times. Enabled play from HTTP. Choose the audio stream Choose the subtitles stream - Delete file on your Emby server? + Delete file from your Emby server? Play trailers? Gathering movies from: Gathering boxsets diff --git a/resources/lib/player.py b/resources/lib/player.py index d4b2e624..e6ad6d93 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -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