<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebAccess v7.1.1-37812">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RE: [mythtv-users] New Sky+ App - control Sky box via tcp/ip network</title>
  <style type="text/css">
      body
      {
        font-family: Arial, Verdana, Sans-Serif ! important;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
      }

      p, ul, li
      {
        margin-top: 0px;
        margin-bottom: 0px;
      }
  </style>
</head>
<body>
<blockquote style="border-left: 2px solid #325FBA; padding-left: 5px;margin-left:5px;">-----Original message-----<br /><strong>From:</strong>        Michael Watson &lt;michael@thewatsonfamily.id.au&gt;<br /><strong>Sent:</strong>        Sat 15-12-2012 11:21<br /><strong>Subject:</strong>        Re: [mythtv-users] New Sky+ App - control Sky box via tcp/ip network<br /><strong>Attachment:</strong>        skychange.py<br /><strong>To:</strong>        mythtv-users@mythtv.org; <br />Give this version a try. &nbsp;If it works, can you send me the <br />/tmp/skychange.txt file it creates. &nbsp;I just want to add a check that it <br />has changed the channel successfully.<br /><br /></blockquote><p>&nbsp;Hi Michael,</p><p>&nbsp;</p><p>I&#39;ve attached the skychange.txt file and this is the data that is captured by nettool from the GetMediaInfo query:</p><p>&nbsp;</p><p>HTTP/1.1 200 OK</p><p>CONTENT-LENGTH: 516</p><p>CONTENT-TYPE: text/xml; charset=&quot;utf-8&quot;</p><p>DATE: Mon, 07 Feb 2000 14:38:51 GMT</p><p>EXT:</p><p>SERVER: Linux/2.6.18.8 UPnP/1.0 SKY DLNADOC/1.50</p><p>X-User-Agent: redsonic</p><p>&nbsp;</p><p>&lt;s:Envelope xmlns:s=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; s:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;&gt;&lt;s:Body&gt;</p><p>&lt;u:GetMediaInfoResponse xmlns:u=&quot;nds-comSkyPlay:2&quot;&gt;</p><p>&lt;NrTracks&gt;0&lt;/NrTracks&gt;</p><p>&lt;MediaDuration&gt;00:00:00&lt;/MediaDuration&gt;</p><p>&lt;CurrentURI&gt;xsi://9C7&lt;/CurrentURI&gt;</p><p>&lt;CurrentURIMetaData&gt;NOT_IMPLEMENTED&lt;/CurrentURIMetaData&gt;</p><p>&lt;PlayMedium&gt;NONE&lt;/PlayMedium&gt;</p><p>&lt;RecordMedium&gt;NOT_IMPLEMENTED&lt;/RecordMedium&gt;</p><p>&lt;WriteStatus&gt;NOT_IMPLEMENTED&lt;/WriteStatus&gt;</p><p>&lt;/u:GetMediaInfoResponse&gt;</p><p>&nbsp;</p><p>Just to let you know, I used the script in anger from mythtv last nigh and it worked perfectly.</p><p>&nbsp;</p><p>There is a whole lot more that could be achieved with this - for example I think that it should be possible to get program listings back from the box - I use xmltv, but it would be really useful for me if I could get listings for the radio channels, which xmltv doesn&#39;t provide.</p><p>&nbsp;</p><p>Regards,</p><p>Dave.</p>
</body>
</html>