Recording time incorrect, can’t play full file in kodi

Just set up live tv and pvr with kodi and have been loving it, thanks for all your hardwork. I encountered a problem with my first recording that i can’t seem to find a fix for. I scheduled a recording and it appears to have worked fine. However, when i play the recording in kodi, about 10mins in the length of the tv show changes from about an hour to 16+ hours. It continues playing fine but then about 40mins in the recording stops and i can’t watch the end of the show. I went into NextPVR and i can playback the recording without any problems and the length of the show is displayed correctly. I use a windows 10 machine with the latest version of kodi and nextpvr as the backend. I’m recording a show live over the air. Any help in fixing this would be greatly appreciated. Thanks.