mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-05 18:20:41 -08:00
All specifying additional run builtin functions when creating plugin uri
This commit is contained in:
parent
a9f0436deb
commit
13a4907262
1 changed files with 8 additions and 1 deletions
|
|
@ -399,7 +399,14 @@ class AbstractContext(object):
|
|||
|
||||
command = 'command://' if command else ''
|
||||
if run:
|
||||
return ''.join((command, 'RunPlugin(', uri, ')'))
|
||||
return ''.join((command,
|
||||
'RunAddon('
|
||||
if run == 'addon' else
|
||||
'RunScript('
|
||||
if run == 'script' else
|
||||
'RunPlugin(',
|
||||
uri,
|
||||
')'))
|
||||
if play is not None:
|
||||
return ''.join((
|
||||
command,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue