<!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 <michael@thewatsonfamily.id.au><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. If it works, can you send me the <br />/tmp/skychange.txt file it creates. I just want to add a check that it <br />has changed the channel successfully.<br /><br /></blockquote><p> Hi Michael,</p><p> </p><p>I've attached the skychange.txt file and this is the data that is captured by nettool from the GetMediaInfo query:</p><p> </p><p>HTTP/1.1 200 OK</p><p>CONTENT-LENGTH: 516</p><p>CONTENT-TYPE: text/xml; charset="utf-8"</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> </p><p><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body></p><p><u:GetMediaInfoResponse xmlns:u="nds-comSkyPlay:2"></p><p><NrTracks>0</NrTracks></p><p><MediaDuration>00:00:00</MediaDuration></p><p><CurrentURI>xsi://9C7</CurrentURI></p><p><CurrentURIMetaData>NOT_IMPLEMENTED</CurrentURIMetaData></p><p><PlayMedium>NONE</PlayMedium></p><p><RecordMedium>NOT_IMPLEMENTED</RecordMedium></p><p><WriteStatus>NOT_IMPLEMENTED</WriteStatus></p><p></u:GetMediaInfoResponse></p><p> </p><p>Just to let you know, I used the script in anger from mythtv last nigh and it worked perfectly.</p><p> </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't provide.</p><p> </p><p>Regards,</p><p>Dave.</p>
</body>
</html>