[mythtv] [mythtv-commits] mythtv commit: r13440 by danielk

Rudy Zijlstra mythtv at grumpydevil.homelinux.org
Fri May 11 08:34:32 UTC 2007

mythtv at cvs.mythtv.org wrote:
>       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
> Modified:
>    branches/mythtv-multirec/libs/libmythtv/guidegrid.cpp
>    branches/mythtv-multirec/libs/libmythtv/guidegrid.h
> Log:
> 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.

I would say you have a hard-coded USA assumption here. In Europe at 
least the channum can be anything, and is often used by people to arange 
the order of channels to their liking. This is true whether you are 
talking analog TV or DVB.

Also, how do you handle the following situation, where a channel can be 
received from 3 sources:
- analog cable
- digital cable
- digital Satellite

I have some channels like that.... And although i have manually ensured 
the callsigns are the same on all three, the EPG often are not, as the 
sources for them are different:

- analog cable uses a grabber
- digital cable uses EIT
- satellite uses EIT.

Which means the descriptions on the programs can be 3 times different, 
as the two EIT are coming from different sources (the SAT broadcaster is 
not the same as the CABLE broadcaster, and what they put into the EIT 
can be quit different. Even the titles can be diffeent (longer or shorter)).

Just some thoughts.....


>  * 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).
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

More information about the mythtv-dev mailing list