Fix TypeErrors
This commit is contained in:
parent
b0a68b255e
commit
fa1dcdffaa
1 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
'resolve': False
|
'resolve': False
|
||||||
}
|
}
|
||||||
task = backgroundthread.FunctionAsTask(playback.playback_triage,
|
task = backgroundthread.FunctionAsTask(playback.playback_triage,
|
||||||
|
None,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
backgroundthread.BGThreader.addTasksToFront([task])
|
backgroundthread.BGThreader.addTasksToFront([task])
|
||||||
|
|
||||||
|
@ -482,7 +483,7 @@ def _record_playstate(status, ended):
|
||||||
xbmc.getCondVisibility('Window.IsVisible(Home.xml)')):
|
xbmc.getCondVisibility('Window.IsVisible(Home.xml)')):
|
||||||
LOG.debug('Refreshing skin to update widgets')
|
LOG.debug('Refreshing skin to update widgets')
|
||||||
xbmc.executebuiltin('ReloadSkin()')
|
xbmc.executebuiltin('ReloadSkin()')
|
||||||
task = backgroundthread.FunctionAsTask(function=_clean_file_table)
|
task = backgroundthread.FunctionAsTask(_clean_file_table, None)
|
||||||
backgroundthread.BGThreader.addTasksToFront(task)
|
backgroundthread.BGThreader.addTasksToFront(task)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue