On 8/9/07, <b class="gmail_sendername">Robert Eden</b> <<a href="mailto:rmeden@yahoo.com">rmeden@yahoo.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><span class="q"></span>Actually no, not a unified lineup. XMLTV/tv_grab_na_dd only supports
one "lineup" per "config" file. Even though all lineups are
downloaded, only the one in the config file is used. In addition the
config file lets you filter out certain stations.<br>
<br>
My solution is this:<br>
<br>
tuner1.config<br>
<blockquote>username: user<br>
password: pass<br>
timezone: -0500<br>
lineup: TX42822:-<br>
channel: 54 AETV<br>
channel: 43 CNBC<br>
not channel: 3 DSC<br>
not channel: 57 TLC<br>
</blockquote>
tuner2.config<br>
<blockquote>username: user<br>
password: pass<br>
timezone: -0500<br>
lineup: TX42822:-<br>
not channel: 54 AETV<br>
not channel: 43 CNBC<br>
channel: 3 DSC<br>
channel: 57 TLC<br>
</blockquote>
tv_grab_na_dd --config-file-tuner1.config --dd-data=dd.xml
--output=tuner1.xmltv<br>
tv_grab_na_dd --config-file-tuner2.config --dd-data=dd.xml
--output=tuner2.xmltv --reprocess<br>
mythdatabaseload tuner1.xmltv (syntax made up, remember I don't know
myth)<br>
mythdatabaseload tuner2.xmltv <br>
<br>
Robert<br>
</div>
</blockquote></div><br>This certainly looks like it will solve the problem of requiring multiple accounts to download the lineup data. I'll have to give this a try.<br><br>But it still is not the *best* way to handle this. My situation is a little different; but I think it represents the typical in the real world.
<br><br><div style="margin-left: 40px;">cablebox.config<br>channel: 1<br>channel: 2<br>channel: 3<br>channel: 4<br><br>qamtuner.config<br>channel: 1<br>channel: 2<br>(3 and 4 excluded)<br></div><br> In this scenario, mythfilldatabase runs twice, once for each of the tuner configurations. However, since the
qamtuner.config is a subset of the cablebox.config, the second run is completely wasted, all the data duplicates existing data in the database.<br><br>Since mythfilldatabase taxes the system, it would make a lot of sense to consolidate the channels required and update the database in a single pass.
<br><br>Tom<br>