[mythtv] [mythtv-commits] Ticket #3299: Allow mulitple video sources to reference single Datadirect lineup

Michael T. Dean mtdean at thirdcontact.com
Wed Apr 18 22:49:07 UTC 2007

On 04/12/2007 04:36 PM, MythTV wrote:
> #3299: Allow mulitple video sources to reference single Datadirect lineup
>  When multiple sourceid's are associated to a single datadirect lineup,
>  such as is the case when receiving programming from multiple satellites
>  for a single provider, mythfilldatabase would deselect almost all channels
>  from the datadirect lineup. The process would essentially remove all
>  channels not associated to the current sourceid. When the second sourceid
>  is processed, all channels from the first sourceid would be deselected.
>  This problem is also alluded to here: #3295
>  The attached patch will enable updates to the datadirect channel list
>  based on lineupid rather than sourceid.

I spent a lot of time looking over this patch and its affects on 
MythTV/mythfilldatabase today.  The patch looks good to me, but I've 
tested it only in my mind, though. ;)

However, I recommend that this patch is not committed until a further 
modification is made.

Currently Myth is designed around the idea that each video source gets 
listings from a different "listings" source--in other words, it assumes 
that the something about the grabber configuration (or, in the case of 
DataDirect users, the lineup) is different for different video sources.  
Therefore, mythfilldatabase currently downloads the required listings 
data once for each video source and does not provide any mechanism by 
which to reuse that data (even if the lineup is being reused).

Applying this patch would encourage users with overlapping channels on 
multiple video sources to consolidate their (small) separate lineups 
into one (larger) lineup--if for no other reason than to only have to 
manage a single DataDirect account or to avoid the worry of using 
listings from a neighboring zip code's provider.  Since the 
"consolidated" lineup's listings data would still be downloaded once for 
each video source that uses the lineup, encouraging users to create 
larger lineups and reuse them on several video sources is not 
appropriate without some mechanism for caching the data.

While mythfilldatabase would reuse DataDirect data if "--dd-grab-all" 
were re-enabled and were specified in the mythfilldatabase arguments, 
this approach would cause mfdb to download all 14 days of data once, 
which would only be better if the lineup were reused on more than 7 
video sources.  Since that won't be the case in the typical (and 
probably not even in the extreme) configuration, a new means by which to 
cache data should be implemented.


More information about the mythtv-dev mailing list