diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index 16d22e23..b742de33 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -232,9 +232,9 @@ class SpecialMonitor(threading.Thread): control = int(xbmcgui.Window(10106).getFocusId()) if control == 1002: # Start from beginning log.info("Resume dialog: Start from beginning selected.") - window('emby.resume', value="true") - else: window('emby.resume', clear=True) + else: + window('emby.resume', value="true") elif isPlaying and not window('emby.external_check'): time = player.getTime() diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 5eec69f7..a4ecf201 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -114,7 +114,7 @@ class PlaybackUtils(object): elif not resume: seektime = 0 else: - seektime = 0 if resume == "true" else self.API.adjust_resume(self.API.get_userdata()['Resume']) + seektime = self.API.adjust_resume(self.API.get_userdata()['Resume']) if resume == "true" else 0 if force_transcode: log.info("Clear the playlist.")