Skip to content

Commit

Permalink
Allow for deferred RunPlugin action to prevent multiple busy dialog c…
Browse files Browse the repository at this point in the history
…rashes
  • Loading branch information
MoojMidge committed Dec 13, 2024
1 parent 197b432 commit 1bc5a3c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,11 @@ def uri_action(context, uri):
action = 'PlayMedia({0}, playlist_type_hint=1)'.format(uri)
result = True

elif uri.startswith('RunPlugin('):
context.log_debug('Running plugin: |{0}|'.format(uri))
action = uri
result = False

elif context.is_plugin_path(uri):
context.log_debug('Redirecting to: |{0}|'.format(uri))
uri = urlsplit(uri)
Expand Down

0 comments on commit 1bc5a3c

Please sign in to comment.