[mythtv-commits] mythtv commit: r13440 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed May 9 16:10:32 UTC 2007

      Author: danielk
        Date: 2007-05-09 16:10:31 +0000 (Wed, 09 May 2007)
New Revision: 13440
   Changeset: http://cvs.mythtv.org/trac/changeset/13440




Refs #3326. Fixes channel equivalency based on discussion on dev mailing list.

Instead of assuming that channels with the same callsign have the same programming we do two things.
 * If the channum and the callsign are the same and one channel is busy and not another we replace the busy one with the non-busy one in the guide, including showing the guide data for the new channel instead of the old.
 * If the callsign is the same but the channum is different for the busy we only mark the channel as not busy if the alternate non-busy channel has exactly the same programming in the times shown in the EPG. (We don't use just the current program because in LiveTV we may be changing to a channel because of the upcomming programming, i.e. we are tuning in now because the Baseball game starts in 5 minutes; we don't want to tune to a blacked out station just because they have the same programming on right now.)

We also apply these programming equivalency rules to channels returned by GetSelection() (which is used to instruct TVRec on requested channel changes).

More information about the mythtv-commits mailing list