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
1 changed files with 0 additions and 5 deletions

View File

@ -287,8 +287,6 @@ class LibrarySync(threading.Thread):
utils.settings('SyncInstallRunDone', value="true") utils.settings('SyncInstallRunDone', value="true")
utils.settings("dbCreatedWithVersion", self.clientInfo.getVersion()) utils.settings("dbCreatedWithVersion", self.clientInfo.getVersion())
self.saveLastSync() 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)') xbmc.executebuiltin('UpdateLibrary(video)')
elapsedtotal = datetime.now() - starttotal elapsedtotal = datetime.now() - starttotal
@ -1088,9 +1086,6 @@ class LibrarySync(threading.Thread):
embyconn.commit() embyconn.commit()
self.saveLastSync() 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) self.logMsg("Updating video library.", 1)
utils.window('emby_kodiScan', value="true") utils.window('emby_kodiScan', value="true")
xbmc.executebuiltin('UpdateLibrary(video)') xbmc.executebuiltin('UpdateLibrary(video)')