[mythtv-users] SchedulesDirect timing out during Mythfilldatabase

DeKay dekaymail at gmail.com
Sat Apr 16 23:20:37 UTC 2011


On Sat, Apr 16, 2011 at 3:00 PM, Frank Phillips <frankalso at gmail.com> wrote:

> Thanks, good info. Try this:
>
> 1) start mythfilldatabase in a terminal. but pause it part way through
> (Ctl-Z).
>
> 2) cp /tmp/mythtv_ddp_*/mythtv_post_* /tmp/soap to grab a copy of the SOAP
> file before it is deleted
>
> 3) wget --http-user=username --http-passwd=password --post-file=/tmp/soap
> http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
> --user-agent=MythTV/0.24.20101129-1.v0.24-232-g464fa28-dirty
> --output-document=/tmp/datadirect.gz --header=Accept-Encoding:gzip
>
> This should confirm that grabbing the file for you is slow and
> mythfilldatabase is not at fault.

As the tree said to the lumberjack: "I'm stumped."  Just tried this
and it was quite speedy.  Could it be that mythfilldatabase isn't
properly setting up the wget parameters such that SD is throttling me?
 How can I see what mythfilldatabase is using for wget parameters?

Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: “/tmp/datadirect.gz”

    [   <=>     ] 404,738     45.6K/s   in 11s

2011-04-16 17:08:42 (35.4 KB/s) - “/tmp/datadirect.gz” saved [404738]

BTW, here is the SOAP file:

<?xml version='1.0' encoding='utf-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'>
<SOAP-ENV:Body>
<ns1:download  xmlns:ns1='urn:TMSWebServices'>
<startTime xsi:type='xsd:dateTime'>2011-04-16T06:00:00Z</startTime>
<endTime xsi:type='xsd:dateTime'>2011-04-17T06:00:00Z</endTime>
</ns1:download>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Progress!!!


More information about the mythtv-users mailing list