From 26a8ff7a8ccaa8cd0ab388ef0f563abef8b58e38 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 10 Dec 2020 18:05:40 +0100 Subject: [PATCH] Piccole Modifiche a Resume --- platformcode/platformtools.py | 3 ++- resources/skins/Default/720p/ResumePlayback.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index ebc1c9c7..6756f131 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1147,7 +1147,7 @@ def resume_playback(played_time): Resume = False def __init__(self, *args, **kwargs): - self.action_exitkeys_id = [xbmcgui.ACTION_BACKSPACE, xbmcgui.ACTION_PREVIOUS_MENU, xbmcgui.ACTION_NAV_BACK] + self.action_exitkeys_id = [92, 10] self.progress_control = None played_time = kwargs.get('played_time') m, s = divmod(played_time, 60) @@ -1182,6 +1182,7 @@ def resume_playback(played_time): xbmc.sleep(100) if not Dialog.Resume: played_time = 0 else: played_time = 0 + xbmc.sleep(300) return played_time ##### INPUTSTREM ##### diff --git a/resources/skins/Default/720p/ResumePlayback.xml b/resources/skins/Default/720p/ResumePlayback.xml index 3f6830cb..427d1351 100644 --- a/resources/skins/Default/720p/ResumePlayback.xml +++ b/resources/skins/Default/720p/ResumePlayback.xml @@ -6,10 +6,10 @@ - + - + 440 320