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:
angelblue05 2015-07-21 01:12:06 -05:00
parent cbebcbd818
commit c61a17d48d
2 changed files with 30 additions and 6 deletions

View file

@ -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":