This commit is contained in:
angelblue05 2016-02-12 16:31:01 -06:00
parent 54e998d579
commit d3f2969e80

View file

@ -180,8 +180,7 @@ class KodiMonitor(xbmc.Monitor):
self.logMsg("Could not find itemid in emby database.", 1) self.logMsg("Could not find itemid in emby database.", 1)
else: else:
if utils.settings('skipContextMenu') != "true": if utils.settings('skipContextMenu') != "true":
self.logMsg("BAM!") resp = xbmcgui.Dialog().yesno(
'''resp = xbmcgui.Dialog().yesno(
heading="Confirm delete", heading="Confirm delete",
line1="Delete file on Emby Server?") line1="Delete file on Emby Server?")
if not resp: if not resp:
@ -191,8 +190,7 @@ class KodiMonitor(xbmc.Monitor):
url = "{server}/emby/Items/%s?format=json" % itemid url = "{server}/emby/Items/%s?format=json" % itemid
self.logMsg("Deleting request: %s" % itemid) self.logMsg("Deleting request: %s" % itemid)
doUtils.downloadUrl(url, type="DELETE")''' doUtils.downloadUrl(url, type="DELETE")
self.logMsg("BAm!")
finally: finally:
embycursor.close() embycursor.close()