Hi,
I run an automatic library update on bootup and approx once per day the update sits on "preparing....0%" for approx 20-25s before anything happens.
After this 20-25s delay it it proceeds as normal (finishes in ~5s). Thereafter I usually can't replicate the delay until a day later.
In this example there is a 22s gap from 20:34:52 until 20:35:14 with no indication of what it's doing for this timeframe. This corresponds to the frozen "Preparing - 0%" dialogue.
Is there any indication here what is causing the delay/hang ? Is it related to CheckIdle - Closing session to addons.libreelec.tv ?
20:34:52.172 T:139828616222464 DEBUG: Getting Directory (special://profile/playlists/video)
20:34:52.177 T:139828616222464 DEBUG: Getting Directory (special://profile/playlists/mixed)
20:34:52.179 T:139828616222464 DEBUG: CMultiPathDirectory::MergeItems, items = 0
20:34:52.181 T:139828616222464 DEBUG: CFavourites::Load - no system favourites found, skipping
20:34:52.181 T:139828616222464 DEBUG: CFavourites::Load - no userdata favourites found, skipping
20:34:52.284 T:139829702293632 DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
20:34:52.300 T:139828616222464 NOTICE: VideoInfoScanner: Starting scan ..
20:34:52.300 T:139829702289152 DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
20:34:52.300 T:139829702289152 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
20:35:14.585 T:139829702293632 INFO: CheckIdle - Closing session to http://addons.libreelec.tv (easy=0x7f2c64085430, multi=0x7f2c64006ab0)
20:35:15.102 T:139829702293632 INFO: CheckIdle - Closing session to https://raw.githubusercontent.com (easy=0x7f2c900098c0, multi=0x7f2c90008690)
20:35:15.105 T:139829702293632 INFO: CheckIdle - Closing session to http://mirrors.kodi.tv (easy=0x7f2c64075a20, multi=0x7f2c64007d00)
20:35:17.875 T:139828616222464 DEBUG: VideoInfoScanner: Scanning dir 'smb://MY-DESKTOP/Movies 4/' as not in the database
20:35:19.007 T:139828616222464 DEBUG: VideoInfoScanner: No (new) information was found in dir smb://MY-DESKTOP/Movies 4/
20:35:19.019 T:139828616222464 DEBUG: VideoInfoScanner: Skipping dir 'smb://MY-DESKTOP/Movies 4/Movie Name/' due to no change (fasthash)
......etc
20:35:26.434 T:139828616222464 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:34
Display More
I use "wait for network before starting Kodi" so I don't think it's related to that (it never waits for more than 1-2s).
There's no funny add-ons and it's a recently clean install.
Thanks