Merge pull request #898 from croneter/fix-skin

Fix widgets not being populated after very first PlexKodiConnect library sync
This commit is contained in:
croneter 2019-06-16 14:16:20 +02:00 committed by GitHub
commit c91f62108b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,6 +184,9 @@ class Sync(backgroundthread.KillableThread):
install_sync_done = True install_sync_done = True
initial_sync_done = True initial_sync_done = True
utils.settings('dbCreatedWithVersion', v.ADDON_VERSION) utils.settings('dbCreatedWithVersion', v.ADDON_VERSION)
# Reload skin in order to ensure items showing up on Kodi
# Homescreen
xbmc.executebuiltin('ReloadSkin()')
if library_sync.PLAYLIST_SYNC_ENABLED: if library_sync.PLAYLIST_SYNC_ENABLED:
playlist_monitor = playlists.kodi_playlist_monitor() playlist_monitor = playlists.kodi_playlist_monitor()
self.start_fanart_download(refresh=False) self.start_fanart_download(refresh=False)