Got ya sub3.
Just for clarification I'm not concerned with some down time or blackout window for scheduling things. While I do tend to schedule things all around the clock (weird schedule I have) I could certainly live with not doing any scheduling for an hour period. What I worry about and have had problems with is stuff not recording properly that were already scheduled. Emby will have 1 ID for the movie/show in it's DB but NextPVR has already updated that ID to something else and the recording never kicks off. A few minutes later Emby would have been updated because it's schedule would have run. This is with about a 10 minute window from NextPVR finishing EPG updates to Emby starting (on average) them to leave a bit of cushion space which I've found is needed. That's what I've seen before.
Anything that either of you could do to minimize this would be great.
I guess the architect/programmer in me just doesn't understand why you're essentially doing a complete remove/reload of data vs just updating/adding new records to the guide which wouldn't cause this problem.