[mythtv-users] Mythvideo ttvdb timeout

Espen A. Fossen espenaf at junta.no
Fri May 13 17:52:46 UTC 2011


On 13.05.2011 19:43, Raymond Wagner wrote:
> On 5/13/2011 13:00, Espen A. Fossen wrote:
>> When i try to do a direct request via the script the, like this:
>> /usr/share/mythtv/metadata/Television/ttvdb.py -l en -D 71256 16 49. The
>> request works, but only after a long while.
>>
>> I am guessing the mythvideo has a 30 second timeout it reaches. Anybody
>> know where this timeout can be tweaked. Didn't find anything in the
>> mythtv settings.
> Metadata queries should not take more than a few seconds.  If a query
> has taken sufficiently long that it has surpassed the timeout in
> MythVideo and that behavior persists, then either the server is
> currently under heavy load, or is having unresolved issues.  In either
> case, the courteous thing would be to simply hold off further access
> until such time as the server is behaving better.
Good point, but the strange this is that this only happens to this show. 
All other queries respond within the given timeout.

I haven't been hammering the server, but tried this at 5 to 10 different 
instances for the last 2 weeks. All requests timeout for this tv show 
only. I might have been extremely unlucky with the timing of all my 
request tries, but I doubt it.

I am not going to make this a permanent timeout, just to test that it is 
the timeout that is the problem, and not something else.

Espen


More information about the mythtv-users mailing list