[mythtv-users] Cant add channel linup on fresh installs

Michael T. Dean mtdean at thirdcontact.com
Mon Oct 15 03:43:10 UTC 2012


On 10/14/2012 09:54 PM, Joseph Fry wrote:
>>   * On Fri Oct 12, 2012 at 07:15:30AM -0400, Ronald Frazier wrote:
>>>>> I didn't have time this morning to give it multiple tries, so I just
>>>>> bumped it right to 120 seconds and it worked. The logs are below. It
>>>>> looks like we had about a 45 second pause. As for the reason why, I
>>>>> haven't looked at the SD output in a few years, but isn't it broken
>>>>> into multiple sections...like<list of channels><list of
>>>>>
>>>> Ouch.  I don't know much about the internals of the SD downloads.  It's
>>>> possible this has always been the case but wget was shielding us with
>>>> its 900-second read timeout.  45 seconds is way too long to set as the
>>>> default timeout in MythDownloadManager, so we may have to pursue the
>>>> ability to set the timeout on a per-download basis.  I sent a message
>>>> to Gavin about this, I think he made the conversion from wget to MDM,
>>>> so I'd like to get his insight.
>>>>
>>>>   What I don't understand is why it needs to download so much data... all
>>> he
>>> is doing is retrieving his lineups.  Perhaps someone should work with the
>>> SD developers to have a query created that just returns the names/id of
>>> the
>>> lineups.  A separate query could retrieve the channels for the selected
>>> lineup.
>>>
>> 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.)
>>
> 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?

Well, TTBOMK, Schedules Direct doesn't have anyone who's doing any 
custom programming and we're just making a direct connection to TMS 
(and, therefore, get only what TMS offers).  AIUI, Schedules Direct is 
currently just the entity that handles individual users/authentication 
and TMS handles all the data.

Now, 4 years ago, they asked nicely, but I don't think anyone was 
interested...

http://www.gossamer-threads.com/lists/mythtv/users/361268#361268
http://www.gossamer-threads.com/lists/mythtv/dev/361263#361263

Mike


More information about the mythtv-users mailing list