[mythtv-users] Zap2it - What's going on

John Johnson johnatl at mac.com
Thu Aug 24 23:56:55 UTC 2006


On Thu, 24 Aug 2006 17:15:20 -0400, Jim Gifford <maillist at jg555.com> wrote:

> Here's what I got, and it's still running.
>
> http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
>            => `-'
>
> 12:38:44 (5.13 B/s) - Read error at byte 4626 (Connection timed
> out).Retrying.

Give this a try. Save this in a file called post-doc
<?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'>
         2006-08-01T10:00:00Z
       </startTime>
       <endTime xsi:type='xsd:dateTime'>
         2006-08-10T10:00:00Z
       </endTime>
     </ns1:download>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

(Dates and times don't seem to matter for this test.)
Then try this command, substituting for YOURUSER and YOURPASSWD,
of course:

wget --http-user='YOURUSER' --http-passwd='YOURPASSWD' \
--post-file='post-doc' --header='Accept-Encoding:gzip' \
http://datadirect.webservices.zap2it.com/tvlistings/xtvdService \
--output-document=- | gunzip >test

If you don't see any errors, try:
less test
and you should see a lot of data like this:
<?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:downloadResponse
SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:ns1='urn:TMSWebServices'>
<xtvdResponse xsi:type='ns1:xtvdResponse'>
<messages xsi:type='ns1:messages'>
<message>The startTime you specified was invalid and has been corrected to  
2006-08-23T00:00:00Z.</message>
<message>The endTime you specified was invalid and has been corrected to  
2006-09-01T23:59:59Z.</message>
<message>Your subscription will expire: 2006-10-17T22:33:58Z</message>

and so on for a long, long, time.

That will tell you if it's Myth or outside Myth.

Regards,
   JJ

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the mythtv-users mailing list