mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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:
|
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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue