Originally Posted by
birdman
The odd thing is that if I edit the start time of one of those timers to be 20:55 then the sanity check passes OK.
Not actually what is happening.
I've gone back to the original code and done some testing. The issue happens when the the longer timer comes first, even if the start times are different (presumably when I changed one yesterday I altered things such that the order changed).
So:20:57 to 22:45 (New: The Young Montalbano, BBC Four)
20:57 to 22:05 (New: The Championship: Football..., Channel 5)
results in a clash for:22:27 to 23:20 (QI XL, BBC TWO HD)
but if the order of the first two recordings changes (either by modifying start times by a minute, or sorting timers such that equal starters are sorted by end times) the the clash doesn't happen and the third timer adds OK.
This happens whether creating a new timer or trying to enable a disabled one (which is much quicker to do when testing...)