2015-09-26, 05:27 AM
(This post was last modified: 2015-09-26, 05:32 AM by johnsonx42.)
sub, the dupes are coming from the new "find alternate showing on conflict" code. "Last Week Tonight With John Oliver" episodes EP01877254.0056 and EP01877254.0057 produce conflicts in their original timeslots. When it hunts down replacement episodes it eventually finds them on 9/28 @ 2:30pm and 10/5 @ 12:30am respectively, but doesn't see that it's already got them scheduled and creates dupes. I'm guessing the code that schedules the replacement recordings doesn't bother to check if they're duplicates, because the original scheduling routine should have seen that those two episodes were already scheduled and should never have created the conflict in the first place.
I believe it doesn't see that they're already scheduled because of the period in the Unique_id; you added code awhile back (at my behest) to disregard the period when comparing Unique_id's, to make them consistent between Schedules Direct and MC2XML/ZAP2XML and allow users to switch between the EPG sources. I think something's become inconsistent there with this new code, and it's creating the dupes because of it... probably the scheduled recording is put in the database without the period, but it's still using the period when it checks for the dupe (or vice-versa, I'm not sure which way it goes).
relevant portion of log attached.
I believe it doesn't see that they're already scheduled because of the period in the Unique_id; you added code awhile back (at my behest) to disregard the period when comparing Unique_id's, to make them consistent between Schedules Direct and MC2XML/ZAP2XML and allow users to switch between the EPG sources. I think something's become inconsistent there with this new code, and it's creating the dupes because of it... probably the scheduled recording is put in the database without the period, but it's still using the period when it checks for the dupe (or vice-versa, I'm not sure which way it goes).
relevant portion of log attached.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV