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'],
|
'path': old['file'],
|
||||||
'resolve': False
|
'resolve': False
|
||||||
}
|
}
|
||||||
thread = Thread(target=playback.playback_triage, kwargs=kwargs)
|
task = backgroundthread.FunctionAsTask(playback.playback_triage,
|
||||||
thread.start()
|
**kwargs)
|
||||||
|
backgroundthread.BGThreader.addTasksToFront([task])
|
||||||
|
|
||||||
def _playlist_onadd(self, data):
|
def _playlist_onadd(self, data):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue