<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* On Fri Oct 12, 2012 at 07:15:30AM -0400, Ronald Frazier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I didn't have time this morning to give it multiple tries, so I just<br>
bumped it right to 120 seconds and it worked. The logs are below. It<br>
looks like we had about a 45 second pause. As for the reason why, I<br>
haven't looked at the SD output in a few years, but isn't it broken<br>
into multiple sections...like<list of channels><list of<br>
</blockquote>
Ouch. I don't know much about the internals of the SD downloads. It's<br>
possible this has always been the case but wget was shielding us with<br>
its 900-second read timeout. 45 seconds is way too long to set as the<br>
default timeout in MythDownloadManager, so we may have to pursue the<br>
ability to set the timeout on a per-download basis. I sent a message<br>
to Gavin about this, I think he made the conversion from wget to MDM,<br>
so I'd like to get his insight.<br>
<br>
</blockquote>
What I don't understand is why it needs to download so much data... all he<br>
is doing is retrieving his lineups. Perhaps someone should work with the<br>
SD developers to have a query created that just returns the names/id of the<br>
lineups. A separate query could retrieve the channels for the selected<br>
lineup.<br>
</blockquote>
<br></div></div>
It seems that it downloads 1s of data, which likely means it gets each channel on the lineup and one program airing on each channel of every lineup. TTBOMK (where MK is based on the code in DataDirectProcessor and the assumption that whoever wrote it knew the DataDirect API/had documentation on it) there is no other way to get the list of lineups. (And, we don't even need the list of channels nor the list of shows we end up downloading.)<br>
</blockquote><div><br></div><div>Well... Mythtv is able to parse out the lineups, perhaps they add .php script to do the same and only reply with the desired information. Of course that adds additional processing demands on the SD servers... but it reduces bandwidth... so someone would need to do a cost/benefit on it to see if it would be worthwhile?</div>
</div>