I am running the latest CE with Kodi Matrix 19.1 on GT-King (rev. A) with PVR configured for TVHeadend backend (run on standalone RPi).
I noticed that when I set the whitelisted resolution in the System config, then Kodi becomes unresponsive when deleting the recorded shows (in TVHeadend), even for several minutes, and then recovers. If I remove the whitelisted res, the deleting the recorded shows works as expected.
Originally I had this in my guisettings.xml:
<setting id="videoscreen.whitelist">0192001080050.00000pstd,0192001080024.00000pstd,0192001080023.97602pstd</setting>
<setting id="videoscreen.whitelistpulldown" default="true">false</setting>
<setting id="videoscreen.whitelistdoublerefreshrate" default="true">false</setting>
with 1920x1080@50Hz being the nominal res and refresh.
The log from Kodi when it got stuck recorded this:
2021-05-20 21:24:29.430 T:12848 INFO <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 50.000, 3D: false
2021-05-20 21:24:29.430 T:12848 INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (16) (weight: -139276096.000)
2021-05-20 21:28:13.043 T:12848 INFO <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 50.000, 3D: false
2021-05-20 21:28:13.044 T:12848 INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (16) (weight: 0.000)
Apparently it did not get stuck on TVHeadend backend (which I verified by tracing the tvh log as well), the delete operation executed immediately and returned, but for some reason Kodi GUI stopped responding, until it started again.