mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
remove widgetreload. Is entirely handled by skinhelper now.
leaving it in means doubled widget refreshes = slower
This commit is contained in:
parent
5640408523
commit
eab0b7d3d9
1 changed files with 0 additions and 5 deletions
|
@ -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)')
|
||||
|
|
Loading…
Reference in a new issue