Fix not saving watched status

If delete after watched was enabled.
This commit is contained in:
angelblue05 2016-07-18 14:42:33 -05:00
parent 77b99210c1
commit 02ab4abe51

View file

@ -465,13 +465,12 @@ class Player(xbmc.Player):
if percentComplete >= markPlayedAt and offerDelete: if percentComplete >= markPlayedAt and offerDelete:
resp = xbmcgui.Dialog().yesno(lang(30091), lang(33015), autoclose=120000) resp = xbmcgui.Dialog().yesno(lang(30091), lang(33015), autoclose=120000)
if not resp: if resp:
url = "{server}/emby/Items/%s?format=json" % itemid
log("Deleting request: %s" % itemid, 1)
self.doUtils(url, action_type="DELETE")
else
log("User skipped deletion.", 1) log("User skipped deletion.", 1)
continue
url = "{server}/emby/Items/%s?format=json" % itemid
log("Deleting request: %s" % itemid, 1)
self.doUtils(url, action_type="DELETE")
self.stopPlayback(data) self.stopPlayback(data)