mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-16 21:26:14 +00:00
Resume fix
Forgot to remove old piece of code that interfered with resume point on homescreen. Also added another verification to removed any Kodi created bookmark as it messes with plugin paths bookmark.
This commit is contained in:
parent
cbebcbd818
commit
c61a17d48d
2 changed files with 30 additions and 6 deletions
|
@ -57,10 +57,6 @@ class PlaybackUtils():
|
|||
if seekTime > jumpBackSec:
|
||||
# To avoid negative bookmark
|
||||
seekTime = seekTime - jumpBackSec
|
||||
|
||||
if userData.get("PlaybackPositionTicks") != 0:
|
||||
reasonableTicks = int(userData.get("PlaybackPositionTicks")) / 1000
|
||||
seekTime = reasonableTicks / 10000
|
||||
|
||||
itemsToPlay = []
|
||||
# Check for intros
|
||||
|
@ -137,6 +133,7 @@ class PlaybackUtils():
|
|||
elif resume_result < 0:
|
||||
# User cancelled dialog
|
||||
xbmc.log("Emby player -> User cancelled resume dialog.")
|
||||
xbmcplugin.setResolvedUrl(int(sys.argv[1]), False, listItem)
|
||||
return
|
||||
|
||||
if result.get("Type")=="Episode":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue