2021-08-27, 09:40 AM
I have around 1,000 recordings spread over many Windows Media Centre PCs whose directories are shared over a local Gigabit speed network. I have added these (with the network filename) to the SCHEDULED_RECORDINGS table of Npvr.db3. They all show and play correctly in the Kodi TV Recordings folder.
If I activate the "Include filesize with recordings" Kodi Npvr add-on option, Kodi pauses during start up at 75% "Loading Recordings from Clients" and generates significant network activity to every Media Centre device. This can take some time (1-2 minutes) after which the EPG update is performed and Kodi startup is complete.
If I delete a recording from the recordings list, I get the 'rotating circles' for some time before the list is redisplayed without the now deleted recording. I am 'guessing' that this is while all recordings are once again rescanned.
If I disable "Include filesize with recordings", both the delay at startup and after deletion disappears.
I would expect Kodi to only scan new recordings (existing recordings will not change size).
I turned on Kodi debug logging, along with component specific logging for SMB, libcURL, JSON-RPC, Video and PVR components. I am not seeing any log entries to indicate hundreds of files being checked at startup/deletion. I am seeing a constant stream of messages "DEBUG <general>: PVR::CPVRRecordings::UpdateInProgressSize: Updating recordings size" whilst Kodi is open and running.
I have turned off the option to include filesizes and everything is working fine - so this posting is more flagging the issue in case there is something I have missed.
Running the latest version of everything (Kod 19.1 / Npvr 5.1.4.210802)
I would appreciate your thoughts!
If I activate the "Include filesize with recordings" Kodi Npvr add-on option, Kodi pauses during start up at 75% "Loading Recordings from Clients" and generates significant network activity to every Media Centre device. This can take some time (1-2 minutes) after which the EPG update is performed and Kodi startup is complete.
If I delete a recording from the recordings list, I get the 'rotating circles' for some time before the list is redisplayed without the now deleted recording. I am 'guessing' that this is while all recordings are once again rescanned.
If I disable "Include filesize with recordings", both the delay at startup and after deletion disappears.
I would expect Kodi to only scan new recordings (existing recordings will not change size).
I turned on Kodi debug logging, along with component specific logging for SMB, libcURL, JSON-RPC, Video and PVR components. I am not seeing any log entries to indicate hundreds of files being checked at startup/deletion. I am seeing a constant stream of messages "DEBUG <general>: PVR::CPVRRecordings::UpdateInProgressSize: Updating recordings size" whilst Kodi is open and running.
I have turned off the option to include filesizes and everything is working fine - so this posting is more flagging the issue in case there is something I have missed.
Running the latest version of everything (Kod 19.1 / Npvr 5.1.4.210802)
I would appreciate your thoughts!