Piccole Modifiche a Resume
This commit is contained in:
@@ -1147,7 +1147,7 @@ def resume_playback(played_time):
|
|||||||
Resume = False
|
Resume = False
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
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
|
self.progress_control = None
|
||||||
played_time = kwargs.get('played_time')
|
played_time = kwargs.get('played_time')
|
||||||
m, s = divmod(played_time, 60)
|
m, s = divmod(played_time, 60)
|
||||||
@@ -1182,6 +1182,7 @@ def resume_playback(played_time):
|
|||||||
xbmc.sleep(100)
|
xbmc.sleep(100)
|
||||||
if not Dialog.Resume: played_time = 0
|
if not Dialog.Resume: played_time = 0
|
||||||
else: played_time = 0
|
else: played_time = 0
|
||||||
|
xbmc.sleep(300)
|
||||||
return played_time
|
return played_time
|
||||||
|
|
||||||
##### INPUTSTREM #####
|
##### INPUTSTREM #####
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<controls>
|
<controls>
|
||||||
<control type="group">
|
<control type="group">
|
||||||
<animation type="WindowOpen" reversible="false">
|
<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>
|
||||||
<animation type="WindowClose" reversible="false">
|
<animation type="WindowClose" reversible="false">
|
||||||
<effect type="fade" start="100" end="0" time="300" />
|
<effect type="fade" start="100" end="0" time="100" />
|
||||||
</animation>
|
</animation>
|
||||||
<right>440</right>
|
<right>440</right>
|
||||||
<top>320</top>
|
<top>320</top>
|
||||||
|
|||||||
Reference in New Issue
Block a user