mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix not saving watched status
If delete after watched was enabled.
This commit is contained in:
parent
77b99210c1
commit
02ab4abe51
1 changed files with 5 additions and 6 deletions
|
@ -465,13 +465,12 @@ class Player(xbmc.Player):
|
|||
|
||||
if percentComplete >= markPlayedAt and offerDelete:
|
||||
resp = xbmcgui.Dialog().yesno(lang(30091), lang(33015), autoclose=120000)
|
||||
if not resp:
|
||||
log("User skipped deletion.", 1)
|
||||
continue
|
||||
|
||||
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)
|
||||
|
||||
self.stopPlayback(data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue