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

Michael T. Dean mtdean at thirdcontact.com
Wed Apr 18 23:34:09 UTC 2007


On 04/18/2007 06:43 PM, Bruce Markey wrote:
>> I think the issue you really want to fix is MythTV's current 1:1
>> mapping between video sources and DataDirect lineups.  Currently,
>> Myth requires that each video source use a different DataDirect
>> lineup.  But, to allow
>>     
> This has never been true, you can create as many video sources from
> the same DD lineup as you'd like:
>
> mysql> select sourceid,name,xmltvgrabber,lineupid from videosource;
> +----------+--------------+--------------+-----------+
> | sourceid | name         | xmltvgrabber | lineupid  |
> +----------+--------------+--------------+-----------+
> |        1 | CoxCableDD   | datadirect   | NV27420:- |
> |        2 | CoxDigitalDD | datadirect   | NV27420:X |
> |        4 | VCR          | /bin/true    | NULL      |
> |        5 | Foo          | datadirect   | NV27420:- |
> |        6 | Bar          | datadirect   | NV27420:- |
> +----------+--------------+--------------+-----------+
>
> If you need to have a different set of channels (frequencies)
> to grab for each video source (set of channels (frequencies) for
> an input) then you need to create a different lineup at zap2it
> but there is nothing stopping you from using the same lineup for
> more than one video source.

Point taken.

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 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...  The DataDirect lineup's XMLTVID's must exist in a 
channel in all video sources associated with that lineup (or the 
channel(?) will be removed from the lineup)...  A video source is used 
to specify a unique collection of channels available to an input and the 
lineup can contain listings information only for those channels...

Were any of those closer?  I still don't know what to call an XMLTVID 
and its associated info from DataDirect (a "listings channel"?).

It's very difficult to be precise because I do realize that not every 
channel in a video source must have an XMLTVID associated with it (i.e. 
for channels for which no listings data is available, i.e. a couple of 
subchannels of small independent channels in my area).  And, I realize 
you could specify an XMLTVID that's not in the lineup for a channel and 
the channel will not be removed from the database and, since there's no 
corresponding "listings channel" in the lineup, the "listings channel" 
won't be removed from the lineup.

Mike


More information about the mythtv-users mailing list