Piccole Modifiche a Resume

This commit is contained in:
Alhaziel01
2020-12-10 18:05:40 +01:00
parent 5c2302eb4a
commit 26a8ff7a8c
2 changed files with 4 additions and 3 deletions

View File

@@ -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 #####

View File

@@ -6,10 +6,10 @@
<controls>
<control type="group">
<animation type="WindowOpen" reversible="false">
<effect type="fade" start="0" end="100" time="300" />
<effect type="fade" start="0" end="100" time="100" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="fade" start="100" end="0" time="300" />
<effect type="fade" start="100" end="0" time="100" />
</animation>
<right>440</right>
<top>320</top>