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