diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index ee1e8055..6fa79edb 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -15,7 +15,7 @@ from utils import window, settings, getUnixTimestamp, kodiSQL, sourcesXML,\ ThreadMethods, ThreadMethodsAdditionalStop, LogTime, getScreensaver,\ setScreensaver, playlistXSP, language as lang, DateToKodi, reset,\ advancedSettingsXML, getKodiVideoDBPath, tryDecode, deletePlaylists,\ - deleteNodes, ThreadMethodsAdditionalSuspend, create_actor_db_index + deleteNodes, ThreadMethodsAdditionalSuspend, create_actor_db_index, profiling import clientinfo import downloadutils import itemtypes @@ -161,6 +161,7 @@ class ThreadedProcessMetadata(Thread): else: self.queue.task_done() + @profiling() def run(self): # Constructs the method name, e.g. itemtypes.Movies itemFkt = getattr(itemtypes, self.itemType)