Fix trakt/delete conflict

This commit is contained in:
angelblue05 2016-10-08 21:07:15 -05:00
parent 24042d2906
commit 634409c528

View file

@ -443,6 +443,8 @@ class Player(xbmc.Player):
# Prevent manually mark as watched in Kodi monitor
window('emby_skipWatched%s' % itemid, value="true")
self.stopPlayback(data)
if currentPosition and runtime:
try:
percentComplete = (currentPosition * 10000000) / int(runtime)
@ -475,9 +477,6 @@ class Player(xbmc.Player):
else:
log.info("User skipped deletion.")
self.stopPlayback(data)
# Stop transcoding
if playMethod == "Transcode":
log.info("Transcoding for %s terminated." % itemid)