mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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('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)')
|
||||||
|
|
Loading…
Reference in a new issue