From eab0b7d3d912ed4d45f29eea51120973ec1e99df Mon Sep 17 00:00:00 2001 From: marcelveldt Date: Mon, 18 Jan 2016 17:12:57 +0100 Subject: [PATCH] remove widgetreload. Is entirely handled by skinhelper now. leaving it in means doubled widget refreshes = slower --- resources/lib/librarysync.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index c89c32c0..c1e39b15 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -287,8 +287,6 @@ class LibrarySync(threading.Thread): utils.settings('SyncInstallRunDone', value="true") utils.settings("dbCreatedWithVersion", self.clientInfo.getVersion()) self.saveLastSync() - # tell any widgets to refresh because the content has changed - utils.window('widgetreload', value=datetime.now().strftime('%Y-%m-%d %H:%M:%S')) xbmc.executebuiltin('UpdateLibrary(video)') elapsedtotal = datetime.now() - starttotal @@ -1088,9 +1086,6 @@ class LibrarySync(threading.Thread): embyconn.commit() self.saveLastSync() - # tell any widgets to refresh because the content has changed - utils.window('widgetreload', value=datetime.now().strftime('%Y-%m-%d %H:%M:%S')) - self.logMsg("Updating video library.", 1) utils.window('emby_kodiScan', value="true") xbmc.executebuiltin('UpdateLibrary(video)')