On Wed, Apr 06, 2005 at 01:00:15PM +0100, Ivor Hewitt wrote: > > Hi, > Since the same information is sent over and over wouldn't it be preferable to > simply leave the information intact in these cases and ignore the update > instead? rather than hitting the database with DELETE and INSERTs? >
Probably. But I've also been considering what would happen if the network were to reschedule a show, say by +-30mins, what would happen to our guide data? Technically we should check that there are no overlaps between our incoming program information and one already on the same channel. If there are conflicts then the new information would have to be considered correct and the conflicting information removed, under the assumption that the new information will be coming along soon I've initially done it this way as that is what is done in programinfo.cpp (ProgramInfo::Save()), pending a solution that does it The Right Way (TM) Stuart
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
