The corrupt ts file was imported without any supporting XML so editing this XML is not possible. This sounds like the source of the problems.
I have had a quick look at the database with SQLite but cannot see any table called “Recordings”.
I attempted to delete the offending entry via NextPVR. The entry disappeared and this seems to have fixed the problem. The proof will come as and when the series recordings succeed.
Thanks all for the messages and support.
Paul
Windows 10 Pro 10.0.19041, 64bit 2.50GHz 8GB RAM
Hauppauge WinTV-dualHD TV T2
IPTV stream
NextPVR 5.1.0 (201214)