mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Fix timing issues with wait_for parameter of XbmcContext.execute
This commit is contained in:
parent
fea687244f
commit
2d13599130
5 changed files with 22 additions and 19 deletions
|
|
@ -17,7 +17,7 @@ from .constants import (
|
|||
DATA_PATH,
|
||||
RELOAD_ACCESS_MANAGER,
|
||||
TEMP_PATH,
|
||||
WAIT_FLAG,
|
||||
WAIT_END_FLAG,
|
||||
)
|
||||
from .context import XbmcContext
|
||||
from .network import get_client_ip_address, httpd_status
|
||||
|
|
@ -364,7 +364,6 @@ def _user_actions(context, action, params):
|
|||
def run(argv):
|
||||
context = XbmcContext()
|
||||
ui = context.get_ui()
|
||||
ui.set_property(WAIT_FLAG)
|
||||
try:
|
||||
category = action = params = None
|
||||
args = argv[1:]
|
||||
|
|
@ -398,4 +397,4 @@ def run(argv):
|
|||
_user_actions(context, action, params)
|
||||
return
|
||||
finally:
|
||||
ui.clear_property(WAIT_FLAG)
|
||||
ui.set_property(WAIT_END_FLAG)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue