DVR recordings end too early

Is there a way to improve processing for DVR?
I find I have recordings that end prematurely possibly because of buffering from IPTV provider but also likely because of sensitivity with Plex DVR. Any suggestions?

I have had this problem before I had to turn off “Scan my library automatically” in setting/library and now get full recordings. Plex is more into their ad content movies and shows then fixing problems for us.