From 958f99b80268cd9bd5327bdeb57297d2893709a9 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 18 Jun 2020 17:27:09 +0200 Subject: [PATCH] ops --- platformcode/platformtools.py | 4 ++-- resources/settings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index df1def61..ece3bcd2 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1072,11 +1072,11 @@ def resume_playback(item, return_played_time=False): if return_played_time: return item_nfo.played_time # Show Window - elif (config.get_setting("player_mode") not in [1, 3] or item.play_from == 'window') and item_nfo.played_time: + elif (config.get_setting("player_mode") not in [3] or item.play_from == 'window') and item_nfo.played_time: Dialog = ResumePlayback('ResumePlayback.xml', config.get_runtime_path(), item=item_nfo) Dialog.show() t = 0 - while not Dialog.is_close() and t < 50: + while not Dialog.is_close() and t < 100: t += 1 xbmc.sleep(100) if not Dialog.Resume: item_nfo.played_time = 0 diff --git a/resources/settings.xml b/resources/settings.xml index 6a3462d1..7c37e6e3 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -35,7 +35,7 @@ - +