mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix trakt/delete conflict
This commit is contained in:
parent
24042d2906
commit
634409c528
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue