Fix ValueError for third party add-ons calling PKC
This commit is contained in:
parent
aa1afba417
commit
ce29f5a60e
1 changed files with 7 additions and 1 deletions
|
@ -24,7 +24,13 @@ class PlaybackStarter(Thread):
|
|||
"""
|
||||
@staticmethod
|
||||
def _triage(item):
|
||||
try:
|
||||
_, params = item.split('?', 1)
|
||||
except ValueError:
|
||||
# E.g. other add-ons scanning for Extras folder
|
||||
LOG.debug('Detected 3rd party add-on call - ignoring')
|
||||
pickle_me(Playback_Successful())
|
||||
return
|
||||
params = dict(parse_qsl(params))
|
||||
mode = params.get('mode')
|
||||
resolve = False if params.get('handle') == '-1' else True
|
||||
|
|
Loading…
Reference in a new issue