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

Michael T. Dean mtdean at thirdcontact.com
Sat Apr 21 06:30:56 UTC 2007


On 04/20/2007 09:42 PM, Adam Brewster wrote:
>
> > 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.

Right.  That's what I discussed in the thread on #3299  
http://www.gossamer-threads.com/lists/mythtv/dev/264755#264755 and 
that's why I referred you to that ticket earlier.

With this message, though, I was trying to ensure Bruce and I were in 
complete agreement about the current requirements imposed upon video 
source/DataDirect linkage in MythTV.


> > 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.

Interesting.  David Shay is the one who originally wrote the DataDirect 
support for Myth.

Anyway, I'm sure the patch would be welcomed if done properly.  Part of 
the reason I wanted Bruce's agreement on the post above is because he is 
one of those who is likely to approve or veto the patch.

There are two approaches: 1) write a patch, post it, change it as 
requested by the devs, and "nurse" it until committed or 2) start a 
thread to discuss the changes until you get agreement from all 
interested parties, then write a patch.

Generally, though, the number of interested parties is far smaller 
before code is written, so with approach #2, you often follow it with 
approach #1.  Therefore, often, #1 is the fastest approach (and doesn't 
back you into a corner when you promise something but can't finish it or 
get agreement or ...).

If you're interested in coding up a change, go for it.  If not, I will 
probably get to it eventually--but I can guarantee it will be several 
months (or a year) out.  Oh, not that I'm promising anything... :)

Mike



More information about the mythtv-users mailing list