Fix NameError
This commit is contained in:
parent
a8fbcc6be4
commit
b0a68b255e
1 changed files with 3 additions and 2 deletions
|
@ -170,8 +170,9 @@ class KodiMonitor(xbmc.Monitor):
|
|||
'path': old['file'],
|
||||
'resolve': False
|
||||
}
|
||||
thread = Thread(target=playback.playback_triage, kwargs=kwargs)
|
||||
thread.start()
|
||||
task = backgroundthread.FunctionAsTask(playback.playback_triage,
|
||||
**kwargs)
|
||||
backgroundthread.BGThreader.addTasksToFront([task])
|
||||
|
||||
def _playlist_onadd(self, data):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue