Revert "Sleep a bit before marking item as fully watched"

This commit is contained in:
tomkat83 2017-09-23 18:52:42 +02:00
parent 2bddec60db
commit 12cf23a4b5

View file

@ -350,8 +350,6 @@ class Player(xbmc.Player):
log.info("Percent complete: %s Mark played at: %s"
% (percentComplete, v.MARK_PLAYED_AT))
if percentComplete >= v.MARK_PLAYED_AT:
# Kodi seems to sometimes overwrite our playstate, so wait
xbmc.sleep(500)
# Tell Kodi that we've finished watching (Plex knows)
if (data['fileid'] is not None and
data['itemType'] in (v.KODI_TYPE_MOVIE,