From fa1dcdffaa9ff81da80f35cb96547b979dd4dff2 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 26 Nov 2018 07:56:27 +0100 Subject: [PATCH] Fix TypeErrors --- resources/lib/kodimonitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index f42e8bad..04ccf3c6 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -171,6 +171,7 @@ class KodiMonitor(xbmc.Monitor): 'resolve': False } task = backgroundthread.FunctionAsTask(playback.playback_triage, + None, **kwargs) backgroundthread.BGThreader.addTasksToFront([task]) @@ -482,7 +483,7 @@ def _record_playstate(status, ended): xbmc.getCondVisibility('Window.IsVisible(Home.xml)')): LOG.debug('Refreshing skin to update widgets') xbmc.executebuiltin('ReloadSkin()') - task = backgroundthread.FunctionAsTask(function=_clean_file_table) + task = backgroundthread.FunctionAsTask(_clean_file_table, None) backgroundthread.BGThreader.addTasksToFront(task)