[mythtv-users] [mythtv-commits] Ticket #3295: Scheduler schedules recordings on channels it doesn't receive

Adam Brewster adambrewster at gmail.com
Sat Apr 21 01:42:38 UTC 2007


> While a user can use the same lineup for multiple video sources, every
> single video source using the lineup must have the exact same list of
> XMLTVID's (or in DataDirect speak, stationid's) that exist within the
> lineup associated with the MythTV channels (frequencies) in the video
> sources. If there are any differences in the XMLTVID's,
> mythfilldatabase will "mess up" the lineup (for digital inputs or with
> --remove-new-channels) by removing those XMLTVID's that aren't in the
> database or "mess up" the channels (for analog inputs when
> --remove-new-channels is not specified) by adding new channels
> (frequencies) corresponding to the new XMLTVID's.
>

I think 3299 fixes this.

> I think the confusion among users comes from the fact that they assume
> if they use the same lineup in all their video sources, mythfilldatabase
> will only download the listings info once, so they try to consolidate
> all their sources' channels into a "meta-lineup". In fact,
> mythfilldatabase /always/ downloads listings information for every video
> source (assuming it's downloading listings information, and not being
> used to retrieve channel information)--regardless of whether the video
> source uses the same lineup as other video sources. (Yeah, I'm ignoring
> the disabled "--dd-grab-all" argument to mythfilldatabase.)
>
> Therefore, MythTV currently does not support the use of a DataDirect
> lineup that contains the union of the XMLTVID's used by a 2 video
> source's channels where any XMLTVID exists in the lineup and only one
> video source...

Is this by design, or would there be interest in seeing this changed?

It looks like the procedure is something like

for each source {
  empty temporary tables;
  download new program info into temporary tables;
  update main tables from temporary tables;
}

is there a reason not to do this instead:

empty temporary tables;
for each source {
  if ( temporary tables have no data for this lineup )
    download new program info into temporary tables;

  update main tables from temporary tables;
}

Looks like somebody may have tried to do this before:
http://www.gossamer-threads.com/lists/mythtv/dev/182486
but it looks like that didn't go anywhere.

Adam


More information about the mythtv-users mailing list