[mythtv] Re: [mythtv-commits] mythtv commits

Steve Davies steve at one47.co.uk
Wed Jan 21 04:42:53 EST 2004


> Changes committed by gigem on Mon Jan 19 23:24:09 2004
>
> Modified Files:
>    in mythtv/libs/libmythtv:
>         programinfo.cpp programinfo.h scheduledrecording.cpp
>    in mythtv/programs/mythbackend:
>         mainserver.cpp scheduler.cpp scheduler.h
>    in mythtv/programs/mythfrontend:
>         programrecpriority.cpp viewscheduled.cpp
> Log Message:

Is there a reason for the recent change to the IsSameProgramTimeslot
method in programinfo? I find it is too "loose" now, and has the habit of
matching too much.

The sourceid == -1 stuff looks protty harmless, so I think it is the
looser matching of startts and endts that is causing me problems. The new
implementation looks like an "IsOverlappingOrAdjacentProgramTimeslot" 
method to me, and allows the Delete list to delete everything that
overlaps with its contents rather than just the items listed in the delete
list.

I'm probably missing something, but I have made use of the old behaviour
in a patch I'm putting together, and the change broke things for me. Can I
put this back, or shall I define a separate "IsExactSameProgramTimeslot"
method?

Thanks,
Steve


More information about the mythtv-dev mailing list