remove widgetreload. Is entirely handled by skinhelper now.

leaving it in means doubled widget refreshes = slower
This commit is contained in:
marcelveldt 2016-01-18 17:12:57 +01:00
parent 5640408523
commit eab0b7d3d9

View file

@ -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)')