From 26836fb53656dc2f543c0c4ba5b2be7b4c62eb57 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 12 Feb 2016 16:49:21 -0600 Subject: [PATCH] Remove skip deletion after playback I think it must be a mistake on my part. Checking history, it looks like a copy paste during the refactor. --- resources/language/English/strings.xml | 6 ++---- resources/lib/player.py | 13 ++++++------- resources/settings.xml | 6 ++---- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 21b92ce4..cabd3e9b 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -286,7 +286,7 @@ Network credentials Enable Emby cinema mode Ask to play trailers - Skip Emby delete confirmation + Skip Emby delete confirmation for the context menu Jump back on resume (in seconds) Force transcode H265 Music metadata options (not compatible with direct stream) @@ -300,9 +300,7 @@ Enable new content notification Duration of the video library pop up (in seconds) Duration of the music library pop up (in seconds) - For the context menu - After playback (Caution!) - Server messages + Server messages Welcome diff --git a/resources/lib/player.py b/resources/lib/player.py index ecc6ac64..ed3fb414 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -482,13 +482,12 @@ class Player(xbmc.Player): offerDelete = False if percentComplete >= markPlayedAt and offerDelete: - if utils.settings('skipPlayback') != "true": - resp = xbmcgui.Dialog().yesno( - heading="Confirm delete", - line1="Delete file on Emby Server?") - if not resp: - self.logMsg("User skipped deletion.", 1) - continue + resp = xbmcgui.Dialog().yesno( + heading="Confirm delete", + line1="Delete file on Emby Server?") + if not resp: + self.logMsg("User skipped deletion.", 1) + continue url = "{server}/emby/Items/%s?format=json" % itemid self.logMsg("Deleting request: %s" % itemid) diff --git a/resources/settings.xml b/resources/settings.xml index 40ce0a7d..7f7482f5 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -62,11 +62,9 @@ + - - - - +