diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 6effb2c2..21b92ce4 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -279,14 +279,14 @@ Direct stream music library Playback Mode Force artwork caching - Limit artwork cache threads + Limit artwork cache threads (recommended for rpi) Enable fast startup (requires server plugin) Maximum items to request from the server at once Playback Network credentials Enable Emby cinema mode Ask to play trailers - Skip delete confirmation + Skip Emby delete confirmation Jump back on resume (in seconds) Force transcode H265 Music metadata options (not compatible with direct stream) @@ -300,6 +300,9 @@ 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 Welcome diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index ac781e5a..76420092 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -179,17 +179,20 @@ class KodiMonitor(xbmc.Monitor): except TypeError: self.logMsg("Could not find itemid in emby database.", 1) else: - if utils.settings('skipConfirmDelete') != "true": - resp = xbmcgui.Dialog().yesno( + if utils.settings('skipContextMenu') != "true": + self.logMsg("BAM!") + '''resp = xbmcgui.Dialog().yesno( heading="Confirm delete", line1="Delete file on Emby Server?") if not resp: self.logMsg("User skipped deletion.", 1) embycursor.close() return + url = "{server}/emby/Items/%s?format=json" % itemid self.logMsg("Deleting request: %s" % itemid) - doUtils.downloadUrl(url, type="DELETE") + doUtils.downloadUrl(url, type="DELETE")''' + self.logMsg("BAm!") finally: embycursor.close() diff --git a/resources/lib/player.py b/resources/lib/player.py index 354b8984..ecc6ac64 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -482,7 +482,7 @@ class Player(xbmc.Player): offerDelete = False if percentComplete >= markPlayedAt and offerDelete: - if utils.settings('skipConfirmDelete') != "true": + if utils.settings('skipPlayback') != "true": resp = xbmcgui.Dialog().yesno( heading="Confirm delete", line1="Delete file on Emby Server?") diff --git a/resources/settings.xml b/resources/settings.xml index 3889f837..40ce0a7d 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -49,7 +49,6 @@ - @@ -64,7 +63,10 @@ - + + + +