2018-01-18, 11:19
I'm seeing the Kodi interface freezing (not responding) for a long number of seconds after clicking on a TV recording. It seems to be caused by having "Store resume/watched status on server" enabled, and possibly made worse (could be coincidental) by having BufferCountFilter set higher than the default, but is still pretty bad at the default of 100.
The best way to demonstrate this is to configure the media default select action for videos to "Choose". (this setting is under Settings->Media->Videos) With it set this way, it demonstrates that the interface freezing actually happens *even* when not trying to play the recording, but just bringing up the context menu. To reproduce, just navigate to the TV->Recordings folder and click on a TV recording, and it will cause the Kodi interface to hang for a while before the context menu pops up.
For comparison, if the default select action is set to "Show information", it doesn't freeze when clicking on a TV recording -- the information screen actually comes up quickly. However, on the information screen, once you click on the Play recording button, you will similarly see the interface freeze for a long number of seconds before the recording starts to play. Finally, if the default select action for videos is set to "Play", there will be the same kind of interface freeze after clicking on an item in the TV->Recordings folder before the recording starts to play.
Disabling "Store resume/watched status on server" works around the issue.
I can post a full debug log, but here's an example of what happens after clicking the TV recording:
03:12:03.322 T:15896 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
03:12:04.953 T:17384 INFO: Platinum [platinum.core.ctrlpoint]: Device "Wireless Router" expiration time renewed..
03:12:07.370 T:15896 INFO: Previous line repeats 15 times.
03:12:07.370 T:15896 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetServiceStatus|1.3.0|windows(10.0)"
03:12:21.492 T:15896 DEBUG: Previous line repeats 1 times.
03:12:21.492 T:15896 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetResumePosition|10977524093781562"
03:12:24.296 T:4620 INFO: Platinum [neptune.http]: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(result)]
03:12:24.303 T:16060 INFO: Previous line repeats 3 times.
03:12:24.303 T:16060 INFO: Platinum [platinum.core.ctrlpoint]: Device "Wireless Router" expiration time renewed..
03:12:28.506 T:12800 INFO: Previous line repeats 3 times.
03:12:28.506 T:12800 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetTimerCount"
The best way to demonstrate this is to configure the media default select action for videos to "Choose". (this setting is under Settings->Media->Videos) With it set this way, it demonstrates that the interface freezing actually happens *even* when not trying to play the recording, but just bringing up the context menu. To reproduce, just navigate to the TV->Recordings folder and click on a TV recording, and it will cause the Kodi interface to hang for a while before the context menu pops up.
For comparison, if the default select action is set to "Show information", it doesn't freeze when clicking on a TV recording -- the information screen actually comes up quickly. However, on the information screen, once you click on the Play recording button, you will similarly see the interface freeze for a long number of seconds before the recording starts to play. Finally, if the default select action for videos is set to "Play", there will be the same kind of interface freeze after clicking on an item in the TV->Recordings folder before the recording starts to play.
Disabling "Store resume/watched status on server" works around the issue.
I can post a full debug log, but here's an example of what happens after clicking the TV recording:
03:12:03.322 T:15896 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
03:12:04.953 T:17384 INFO: Platinum [platinum.core.ctrlpoint]: Device "Wireless Router" expiration time renewed..
03:12:07.370 T:15896 INFO: Previous line repeats 15 times.
03:12:07.370 T:15896 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetServiceStatus|1.3.0|windows(10.0)"
03:12:21.492 T:15896 DEBUG: Previous line repeats 1 times.
03:12:21.492 T:15896 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetResumePosition|10977524093781562"
03:12:24.296 T:4620 INFO: Platinum [neptune.http]: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(result)]
03:12:24.303 T:16060 INFO: Previous line repeats 3 times.
03:12:24.303 T:16060 INFO: Platinum [platinum.core.ctrlpoint]: Device "Wireless Router" expiration time renewed..
03:12:28.506 T:12800 INFO: Previous line repeats 3 times.
03:12:28.506 T:12800 DEBUG: AddOnLog: PVR WMC Client: Socket::GetVector> Send request "GetTimerCount"