Fix NameError

This commit is contained in:
croneter 2018-11-26 07:54:32 +01:00
parent a8fbcc6be4
commit b0a68b255e

View file

@ -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):
"""