mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Set default value for XbmcContextUI.set_property
This commit is contained in:
parent
c312169aab
commit
8a8b7d6575
5 changed files with 7 additions and 7 deletions
|
|
@ -311,7 +311,7 @@ def _user_actions(context, action, params):
|
|||
def run(argv):
|
||||
context = XbmcContext()
|
||||
ui = context.get_ui()
|
||||
ui.set_property(WAIT_FLAG, 'true')
|
||||
ui.set_property(WAIT_FLAG)
|
||||
try:
|
||||
category = action = params = None
|
||||
args = argv[1:]
|
||||
|
|
@ -334,7 +334,7 @@ def run(argv):
|
|||
return
|
||||
|
||||
if action == 'play_with':
|
||||
ui.set_property(SWITCH_PLAYER_FLAG, 'true')
|
||||
ui.set_property(SWITCH_PLAYER_FLAG)
|
||||
xbmc.executebuiltin('Action(Play)')
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue