From 36aa6413e3359657c2b7edae341ab42273d48463 Mon Sep 17 00:00:00 2001 From: im85288 Date: Sat, 4 Apr 2015 14:39:27 +0100 Subject: [PATCH] remove sleep actions from actors and write filename to db --- resources/lib/WriteKodiDB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 9694467b..a16f4478 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -1147,7 +1147,7 @@ class WriteKodiDB(): # only perform changes if the path actually differs if oldFileName != newFileName: - xbmc.sleep(sleepVal) + # xbmc.sleep(sleepVal) connection = utils.KodiSQL() cursor = connection.cursor() utils.logMsg("Emby","setting filename in kodi db..." + fileType + ": " + str(id)) @@ -1262,7 +1262,7 @@ class WriteKodiDB(): utils.logMsg("AddActorsToMedia", "List needs updating") - xbmc.sleep(sleepVal) + # xbmc.sleep(sleepVal) connection = utils.KodiSQL() cursor = connection.cursor()