<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MillieSoft Blog &#187; Media Center</title>
	<atom:link href="http://blog.milliesoft.co.uk/category/media-center/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.milliesoft.co.uk</link>
	<description>Blogging about Media Center development</description>
	<lastBuildDate>Mon, 14 Jun 2010 09:16:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tranquil T7-MP2 review</title>
		<link>http://blog.milliesoft.co.uk/2010/06/tranquil-t7-mp2-review/</link>
		<comments>http://blog.milliesoft.co.uk/2010/06/tranquil-t7-mp2-review/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:15:09 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=233</guid>
		<description><![CDATA[Tranquil have just released a new media center PC, the T7-MP2. For those of you not familiar with Tranquil, they are a British company specializing in making low energy PCs. They have a fantastic line in Home Servers, and have turned their expertise to making a near silent media center PC. The T7-MP2 is based [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="aligncenter" title="T7-MP2" src="http://www.tranquilpc-shop.co.uk/acatalog/T7_HSA.JPG" alt="" width="250" height="250" />Tranquil have just released a new media center PC, the <a href="http://www.tranquilpc-shop.co.uk/acatalog/media_centres.html" target="_blank">T7-MP2</a>. For those of you not familiar with Tranquil, they are a British company specializing in making low energy PCs. They have a fantastic line in Home Servers, and have turned their expertise to making a near silent media center PC.</p>
<p style="text-align: justify;">The T7-MP2 is based on Tranquil&#8217;s popular T7 chassis, which is a fanless case, achieving it&#8217;s cooling by having a black aluminium case which is basically one big heatsink. An external power supply like on a laptop also helps them to get rid of the heat silently. The compact design does allow for 2 hard drives inside if you like, but doesn&#8217;t have space for an internal DVD driver or TV tuner. Both can of course be added using external USB devices, but Tranquil wanted to do better than that, and wanted to make it a proper media centre system out of the box. They therefore asked me if they could include TunerFreeMCE on the T7-MP2 so that people have access live and catchup TV straight away. I was already a big fan of Tranquil, not least because their PCs are all carbon neutral for 5 years use, so I was very happy to work with them &#8211; it&#8217;s a fantastic partnership of a great media center PC with excellent software.</p>
<p style="text-align: justify;">I received a T7-MP2 as part of  getting TunerFreeMCE pre-installed and branded, so I decided to write a review of this new entrant to the Media Centre market.</p>
<p style="text-align: justify;">The first thing I noticed when starting the T7-MP2 is how much care Tranquil have taken to make a good out of the box build. Tthose of you used to buying boxes from the likes of Dell and HP will be familiar with spending half a day uninstalling the unwanted crapware, installing and configuring the right software, and getting everything up and running. My T7-MP2 came without the usual bloat, and booted really quickly straight in to media centre. It was all configured ready to go, and had useful software like Microsoft Security Essentials installed already instead of trying to sell you some high-profit, low value AV software. The whole experience was thoroughly refreshing, and made me appreciate the benefits of avoiding the big box brands.</p>
<p style="text-align: justify;">My box came with the lowest spec &#8211; 2GB RAM and a 500GB hard drive. Of that 2GB RAM, 250MB is used by the graphics card, leaving just 1.75GB available. Given that it comes with 64bit Windows 7 Home Premium installed, I was concerned that the memory was just too low for the system to operate properly. I gave it a go though, and was surprised that it ran without problem. That&#8217;s really a tribute to Windows 7 &#8211; you&#8217;d never have got away with that on Vista. If you change your mind though, the case is pretty easy to open to add more memory yourself .</p>
<p style="text-align: justify;">Other good features is the excellent number of connections at the back &#8211; it has 6 USB, eSata, Gigabit Ethernet, Wireless N, VGA, DVI and HDMI, SPDIF toslink and  coax, audio in/out, and even an old school PS2 keyboard/mouse connector. Unfortunately there are no connections at the front though, so if you want to plug in a USB drive, you have to rummage round the back. That seems like a surprising omission to me &#8211; there&#8217;s space at the edges at the front where a couple of USB connectors could go, but instead there is just a power button and an IR receiver.</p>
<p style="text-align: justify;">That brings me to my only real gripe with this box &#8211; the IR receiver. An IR receiver is essential on a media center PC, but unfortunately while this one works fine with a Media center remote, it is not compatible with the Microsoft Media centre keyboard. That means that if you want to use the IR keyboard, you need to plug in a regular IR receiver too, making the internal one a waste of time. In fact it&#8217;s worse than a waste of time. If you do plug in a proper IR receiver, the internal one and the external one interfere, registering double clicks. Needing to use the external IR receiver, I tried and failed to find a software way of disabling the internal IR receiver. In the end I put some black electricians tape over the front panel to block out the internal IR receiver. It solves the problem, but it annoyed me that what should have been a good feature was in fact a problem. My suggestion to Tranquil would be to ditch the internal IR, replace it with 2 front facing USB ports, and ship with a regular external IR receiver, which has the advantage of being positionable somewhere convenient for those folks who want to hide all of their kit.</p>
<p style="text-align: justify;">Moving on from that complaint though, and back to the coolness. The greatest feature of this PC is that it is quiet. Really quiet. A claimed 17dB makes it hundreds of times quieter than your average PC. The only noise comes from the hard drive, and the 2.5&#8243; Samsung laptop drives that they have used  are nice and quiet. I previously had a Shuttle SFF PC, which claimed to be quiet, but in retrospect really wasn&#8217;t. Swapping that out for the T7-MP2 actually made me aware of other noise sources in the room that I hadn&#8217;t even heard before (and so now I have a new quieter fish tank pump, but that&#8217;s a different story).</p>
<p style="text-align: justify;">So, 17dB is very quiet, but it&#8217;s not quite silent. However, if you want a truly silent experience (0dB), there is also a solid state drive option. Of course, SSHD&#8217;s aren&#8217;t massive for storing all of your recordings on, but when combined with Windows Home Server, that is becoming a realistic option for many people.</p>
<p style="text-align: justify;">Finally, given that it has an Atom 330 processor, how does it perform as a media centre PC? The answer is flawlessly. It played everything I had on my local network (recorded TV, high def videos, DVDs) without a stutter. It handles streaming video from the internet with the same ease.  Music and pictures are handled just as easily, and that&#8217;s everything you need. Clearly this isn&#8217;t a gaming rig in terms of power, but that&#8217;s kind of the point &#8211;  Tranquil have done a great job of putting the right machine together for the job it is meant to do.</p>
<p style="text-align: justify;"><strong>Summary</strong></p>
<p style="text-align: justify;">At £563, the T7-MP2 is a reasonably priced computer. Combined with it&#8217;s near silent operation, it makes a fantastic media center PC. The lack of front USB and the non-standard IR receiver are an annoyance for some people, but are overcome with little difficulty if it bothers you. With HDMI and SPDIF both built in, it&#8217;s ready to plug straight in to your TV and surround sound box if you like, and off you go.</p>
<p style="text-align: justify;"><strong>Specifications</strong></p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<tbody>
<tr>
<td>Size</td>
<td>387 (w) x 356 (d) x 66 (h) mm</td>
</tr>
<tr>
<td>CPU</td>
<td>64 bit ready Dual Core Intel Atom 330 (2 x 1.6GHz)</td>
</tr>
<tr>
<td>Chipset</td>
<td>Nvidia ION</td>
</tr>
<tr>
<td>Graphics</td>
<td>Nvidia GeForce 9xxx (up to 1920 x 1440)</td>
</tr>
<tr>
<td>Memory</td>
<td>2x DDR2 667/800MHz (up to 4GB)</td>
</tr>
<tr>
<td>HDDs</td>
<td>1x or 2x 2.5&#8243; SATA</td>
</tr>
<tr>
<td>Rear panel connections</td>
<td>12V DC power in / 6x USB2.0 / 10.100.1000 LAN / Audio In / Audio Out / Mic In / COAX SPDIF / TOSLINK SPDIF / PS2 / HDMI / DVI / VGA / eSATA / WiFi / Power in</td>
</tr>
<tr>
<td>Weight</td>
<td>Base unit (nett) 4Kg</td>
</tr>
<tr>
<td>Mounting options</td>
<td>Desk, Wall or Vesta bracket (optional)</td>
</tr>
<tr>
<td>Power consumption</td>
<td>from 21W</td>
</tr>
<tr>
<td>Acoustics</td>
<td>17dBA (incl 1x HDD) or 0dBA with SSHDD</td>
</tr>
<tr>
<td>OS</td>
<td>Windows 7 Home Premium 64bit</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2010/06/tranquil-t7-mp2-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code based dialogs in media center</title>
		<link>http://blog.milliesoft.co.uk/2010/03/code-based-dialogs-in-media-center/</link>
		<comments>http://blog.milliesoft.co.uk/2010/03/code-based-dialogs-in-media-center/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 08:50:09 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[mcml]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=216</guid>
		<description><![CDATA[I&#8217;ve written a few posts on how to implement dialog boxes in media center (Adding a version checker and Simpler popup dialog). They are both great examples of how to trigger a dialog box in mcml. Suppose though you want to do it all from within code, not within mcml. Why would you want to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a few posts on how to implement dialog boxes in media center (<a href="http://blog.milliesoft.co.uk/2009/02/adding-a-version-checker/">Adding a version checker</a> and <a href="http://blog.milliesoft.co.uk/2009/04/simpler-popup-dialog/">Simpler popup dialog</a>). They are both great examples of how to trigger a dialog box in mcml. Suppose though you want to do it all from within code, not within mcml. Why would you want to do that? Well, for one it means not having any AddIn calls in your mcml, and AddIn calls mean you can&#8217;t use the mcml preview tool &#8211; which significantly hampers development. For this example, I&#8217;m going to repeat the <a href="http://blog.milliesoft.co.uk/2009/02/adding-a-version-checker/">Adding a version checker</a> example, but all in code.</p>
<p>So, to trigger a dialog from your code, the first thing you need to do is to build some buttons;</p>
<pre><code>ArrayListDataSet dialogButtons = new ArrayListDataSet();
dialogButtons.Add("Download Now");
dialogButtons.Add("Remind me later");
dialogButtons.Add("Ignore");</code></pre>
<p>This adds 3 buttons to the dialog. Obviously add as many or as few as you like. The next thing you need to do is to add the call to open the dialog;</p>
<pre><code>String dialogText="There is a new version available";
String dialogTitle="New Version";
Microsoft.MediaCenter.Hosting.AddInHost.Current
.MediaCenterEnvironment.Dialog(dialogText</code></pre>
<pre><code>, "dialogTitle, dialogButtons, 30, true, null
, new Microsoft.MediaCenter.DialogClosedCallback(versionCallback));
</code></pre>
<p><code> </code></p>
<p>This will open a dialog as a modal dialog with a timeout of 30 seconds. When it is closed, the method <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">versionCallback <span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">will be called, so now we need to write that method;</span></span></p>
<pre><code>public void versionCallback(Microsoft.MediaCenter.DialogResult result)
{
    if (result.ToString() == "100")
    {
        InstallNewVersion();
    }
    if (result.ToString() == "101")
    {
        RemindLater();
    }
    if (result.ToString() == "102")
    {
        IgnoreNewVersion();
    }
}</code></pre>
<p><code> </code></p>
<p>And obviously fill in the appropriate actions for each method.</p>
<p>Finally, you may want to block this dialog from triggering when you are in the debugger (since it won&#8217;t work), so put an if statement round it to stop it running in debug mode;</p>
<pre><code>#if(!DEBUG)
<span style="color: #808080;">   String dialogText="There is a new version available";
   String dialogTitle="New Version";
   Microsoft.MediaCenter.Hosting.AddInHost.Current
.MediaCenterEnvironment.Dialog(dialogText
  , "dialogTitle, dialogButtons, 30, true, null
  , new Microsoft.MediaCenter.DialogClosedCallback(versionCallback));</span></code></pre>
<pre><code>#endif
</code></pre>
<p><code> </code></p>
<p>And that&#8217;s it &#8211; an mcml dialog operated entirely from your code.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2010/03/code-based-dialogs-in-media-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SeeSaw launched</title>
		<link>http://blog.milliesoft.co.uk/2010/01/seesaw-launched/</link>
		<comments>http://blog.milliesoft.co.uk/2010/01/seesaw-launched/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 23:49:56 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[BBC]]></category>
		<category><![CDATA[SeeSaw]]></category>
		<category><![CDATA[TunerFreeMCE]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=200</guid>
		<description><![CDATA[After Project Kangaroo was shut down, the technology was bought up by Arqiva and re-branded as SeeSaw. Since then they have been working on content agreements with various providers, and now have agreements with 4oD, Five and BBC Worldwide, and are working on more agreements with other providers. Earlier this week SeeSaw officially went in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw1.jpg"><img class="aligncenter size-full wp-image-202" title="seesaw" src="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw1.jpg" alt="" width="404" height="215" /></a></p>
<p>After Project Kangaroo was shut down, the technology was bought up by Arqiva and re-branded as SeeSaw. Since then they have been working on content agreements with various providers, and now have agreements with 4oD, Five and BBC Worldwide, and are working on more agreements with other providers.<span id="more-200"></span></p>
<p>Earlier this week <a href="http://www.seesaw.com/" target="_blank">SeeSaw</a> officially went in to beta, inviting members of the public to sign up. Once you sign in, you can browse programs by Category, Channel or just search by name</p>
<p><a href="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw2.jpg"><img class="aligncenter size-full wp-image-203" title="seesaw2" src="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw2.jpg" alt="" width="576" height="374" /></a></p>
<p>Under the channels for example there is a list of programs;</p>
<p><a href="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw3.jpg"><img class="aligncenter size-full wp-image-204" title="seesaw3" src="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw3.jpg" alt="" width="576" height="374" /></a></p>
<p>and then when you pick a program you will see a list of episodes and can play any of them;</p>
<p><a href="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw4.jpg"><img class="aligncenter size-full wp-image-205" title="seesaw4" src="http://blog.milliesoft.co.uk/wp-content/uploads/2010/01/seesaw4.jpg" alt="" width="577" height="374" /></a></p>
<p>interestingly, all programs &#8211; even BBC ones &#8211; have adverts at the start. The programs come from BBC Worldwide, who feed the profit back in to the BBC, which is OK by me if it brings us nice new features.</p>
<p>The video player is of course a flash player, and it offers different bandwidth settings, although there are no specific details of what the different resolutions are &#8211; but it doesn&#8217;t look to be HD.</p>
<p>It&#8217;s a nice aggregation of content, some of which isn&#8217;t available anywhere else, so definitely worth checking it out.</p>
<p>And for those of you who are wondering about TunerFree integration, a plugin is available <a href="http://www.milliesoft.co.uk/plugins" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2010/01/seesaw-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash in Media Center</title>
		<link>http://blog.milliesoft.co.uk/2009/11/flash-in-media-center/</link>
		<comments>http://blog.milliesoft.co.uk/2009/11/flash-in-media-center/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 09:57:27 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=188</guid>
		<description><![CDATA[Microsoft made use of Flash in Media Center for it&#8217;s integration with MSN Player. That was a startling announcement one month ago since it was assumed that Microsoft wanted to promote Silverlight over Flash, and would never allow Flash in Media Center. So, in the past month what has happened about that? Unfortunately it seems to have moved [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Flash" src="http://wwwimages.adobe.com/www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" alt="" width="100" height="100" />Microsoft made use of Flash in Media Center for it&#8217;s integration with MSN Player. That was a <a href="http://thedigitallifestyle.com/cs/blogs/stuart/archive/2009/10/20/7mc-new-internet-tv-with-wait-for-it-flash.aspx" target="_blank">startling announcement</a> one month ago since it was assumed that Microsoft wanted to promote Silverlight over Flash, and would never allow Flash in Media Center. So, in the past month what has happened about that? Unfortunately it seems to have moved backwards again. First of all, the UK integration with MSN Player has disappeared, only to be replaced by the Sky subscription service. I think that is a major mistake by Microsoft, because I don&#8217;t think anyone will pay for a very cut down version of Sky on their PC, and it would have been better to have a working internet TV solution available.</p>
<p>Secondly, I have been trying to find out how independent developers such as myself can make use of Flash in Media Center. A friend of a friend managed to get this unofficial response;</p>
<blockquote><p>As far as I know, the Platform/APIs are only available for internal use. We don’t have any plan to release public documentation on that at this moment.</p></blockquote>
<p>So that means that until Microsoft change their minds or someone manages to dissect the delivered code to work out how to use the libraries in an unsupported way, we are stuck without Flash support for independent developer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/11/flash-in-media-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBC iPlayer on the Xbox</title>
		<link>http://blog.milliesoft.co.uk/2009/11/bbc-iplayer-on-the-xbox/</link>
		<comments>http://blog.milliesoft.co.uk/2009/11/bbc-iplayer-on-the-xbox/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 09:43:10 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[BBC]]></category>
		<category><![CDATA[iPlayer]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=184</guid>
		<description><![CDATA[There was an interesting article in The Telegraph over the weekend which claimed that the BBC will not be bringing the iPlayer to the Xbox 360, unlike the PS3 and Wii which already have excellent integration. It is claimed that this is because Microsoft are demanding that it only be made available to Xbox Gold [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-185" title="bbx_xbox" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/11/bbx_xbox.png" alt="bbx_xbox" width="390" height="174" />There was an <a href="http://www.telegraph.co.uk/technology/microsoft/6671901/Xbox-360-iPlayer-launch-delayed-indefinitely.html" target="_blank">interesting article</a> in The Telegraph over the weekend which claimed that the BBC will not be bringing the iPlayer to the Xbox 360, unlike the PS3 and Wii which already have excellent integration. It is claimed that this is because Microsoft are demanding that it only be made available to Xbox Gold subscribers, and the BBC are saying that that is unreasonable. As you will see from my post about <a href="http://blog.milliesoft.co.uk/2009/10/sky-and-flash-in-media-center/" target="_blank">Sky integration</a>, I&#8217;m really down on requiring Xbox gold membership to access services like that. Gold membership should be about getting you access to servers that run online gaming. It should not be about bringing you access to third party software that is free elsewhere. Well done BBC for sticking up to Microsoft, and I hope Sky see sense too.</p>
<p>Of course if you want to watch iPlayer on the Xbox 360, just install <a href="http://go.milliesoft.com/tunerfree" target="_blank">TunerFreeMCE</a> on your PC and access it via Media Center. The latest version of TunerFreeMCE includes wmv streaming of BBC programs, so works great on extenders like the Xbox 360 too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/11/bbc-iplayer-on-the-xbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sky and Flash in media center</title>
		<link>http://blog.milliesoft.co.uk/2009/10/sky-and-flash-in-media-center/</link>
		<comments>http://blog.milliesoft.co.uk/2009/10/sky-and-flash-in-media-center/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 07:56:17 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[sky]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=177</guid>
		<description><![CDATA[With the public release of Windows 7, there have been some interesting developments; 1) Here in the UK, the Internet TV Beta 2 link has disappeared from our menus. I suspect that is because it was really buggy (I often got errors that my video library was unavailable). Hopefully it just means that a new better version [...]]]></description>
			<content:encoded><![CDATA[<p>With the public release of Windows 7, there have been some interesting developments;</p>
<p>1) Here in the UK, the Internet TV Beta 2 link has disappeared from our menus. I suspect that is because it was really buggy (I often got errors that my video library was unavailable). Hopefully it just means that a new better version is on the way</p>
<p>2) An advert for Sky Player has appeared in the menus;<br />
<img class="aligncenter size-full wp-image-178" title="sky" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/10/sky.png" alt="sky" width="572" height="322" /></p>
<p><span id="more-177"></span>At the moment it is just a link to <a href="http://www.microsoft.com/uk/windows/skyplayer/">http://www.microsoft.com/uk/windows/skyplayer/</a>, but hopefully it should be live soon. Unfortunately it looks to be a complete rip off. According to <a href="http://skyplayer.sky.com/aboutskyplayer/online-live-tv.html">Sky</a>, you can watch the following channels live for £15 a month:</p>
<ul>
<li>G.O.L.D.</li>
<li>Sky Real Lives</li>
<li>Sky Arts 1</li>
<li>MTV ONE</li>
<li>Sky Sports News</li>
<li>British Eurosport</li>
<li>ESPN Classic</li>
<li>Sky News</li>
<li>National Geographic</li>
<li>Nat Geo Wild</li>
<li>History</li>
<li>Eden</li>
<li>Cartoon Network</li>
<li>Boomerang</li>
<li>Nickelodeon</li>
<li>Disney Channel</li>
<li>Nick Jr</li>
</ul>
<p>I struggle to see a single one of those I would want to watch even if it were free, and certainly wouldn&#8217;t pay £15 a month for it.</p>
<p>This is also available on the Xbox 360 without a PC, but for that on top of the £15, you need an Xbox Live Gold Membership (£3/month). When you compare it to the lower cost of £17.50 a month for hundreds of channels and free broadband with a regular sky box, that doesn&#8217;t seem like a bargain.</p>
<p>More interestingly you can add Sky Sports 1, 2, 3 and Xtra for £34 (+£3 XBOX Live) a month, but again that doesn&#8217;t compare well with the £35.50 you would pay for it on a regular sky box along with all of the other channels and again broadband.</p>
<p>So, perhaps Sky are more interested in the catch-up TV market. That certainly offers slightly more, with Sky One programs available for £1.47 a time, and Sky Box Office movies available for £3.43 a time. But when compared with bittorrent for free TV programs and the likes of Love Film at £1.99 for a blu-ray movie, I just don&#8217;t see it working.</p>
<p>3) The big shocker for me was <a href="http://thedigitallifestyle.com/cs/blogs/stuart/archive/2009/10/20/7mc-new-internet-tv-with-wait-for-it-flash.aspx">this post</a> from Stuart at  The Digital Lifestyle announcing that Flash is now in use in Media Center. This is a major shocker for me because Sky are using silverlight to integrate in to the Windows architecture, and I had assumed that Microsoft were too blinkered to acknowledge that Flash is the market leader, however it seems that they have been very pragmatic here and allowed the use of Flash in media center. Unfortunately there are no details on how anyone other than Netflix can use it yet, but I am sure that will emerge over time. The bad news is that it won&#8217;t work on extenders, but it is a step in the right direction for the rest of us.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/10/sky-and-flash-in-media-center/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto Play DVDs in Media Center in Windows 7</title>
		<link>http://blog.milliesoft.co.uk/2009/09/auto-play-dvds-in-media-center-in-windows-7/</link>
		<comments>http://blog.milliesoft.co.uk/2009/09/auto-play-dvds-in-media-center-in-windows-7/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 08:25:12 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[dvd]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=160</guid>
		<description><![CDATA[One of my great annoyances with Windows 7 is that you don&#8217;t have the option to auto-play DVDs with Media Center. I logged it as a bug during the testing phase, and was informed that it was intentional &#8211; something along the lines of if you wanted to use Media Center, it would be open [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-161" style="border: 1px solid black;" title="autoplay7" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/09/autoplay7.jpg" alt="autoplay7" width="493" height="281" /></p>
<p style="text-align: left;">One of my great annoyances with Windows 7 is that you don&#8217;t have the option to auto-play DVDs with Media Center. I logged it as a bug during the testing phase, and was informed that it was intentional &#8211; something along the lines of if you wanted to use Media Center, it would be open already, so auto-play wasn&#8217;t appropriate.</p>
<p style="text-align: left;">Anyway, I disagree, and fortunatly someone has come up with a fix for the problem. Mikinho over at <a href="http://www.sevenforums.com/media-center/18197-wmc-not-available-autoplay-option.html#post197643" target="_blank">Seven Forums</a> has produced a simple registry change to get Media Center added to the DVD movie auto play options. I tested it out, and it all works great;<span id="more-160"></span></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-167" style="border: 1px solid black;" title="windows7-2" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/09/windows7-21.png" alt="windows7-2" width="519" height="298" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/09/auto-play-dvds-in-media-center-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebTelek Media Center Add-In</title>
		<link>http://blog.milliesoft.co.uk/2009/06/webtelek-media-center-add-in/</link>
		<comments>http://blog.milliesoft.co.uk/2009/06/webtelek-media-center-add-in/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 19:48:29 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[WebTelek]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=125</guid>
		<description><![CDATA[Some of you might have noticed that there hasn&#8217;t been much going on with TunerFree for a few months. I can now reveal why that was. For the past 2 months I have been working with Russian internet television provider, WebTelek, on a Media Center interface. WebTelek specialize in providing television and radio programs over [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-129" title="WebTelek" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek1.jpg" alt="WebTelek" width="644" height="362" />Some of you might have noticed that there hasn&#8217;t been much going on with TunerFree for a few months. I can now reveal why that was. For the past 2 months I have been working with Russian internet television provider, <a href="http://www.webtelek.com/" target="_blank">WebTelek</a>, on a Media Center interface. WebTelek specialize in providing television and radio programs over the internet for the Russian market, both at home and abroad with the ex-pat market. Today they have Live TV from almost 70 channels, 20 days complete coverage of Catchup TV for over 50 of those channels, and thousands of movies, with growing content all of the time.</p>
<p>WebTelek approached me with the request to create a top of the range Media Center interface for their internet television service. They already had a web interface and a Media Portal interface, but wanted to expand in to Media Center. One of their biggest concerns was that it look great so that they could confidently have a superior interface to their competitors. That was a challenge that I was happy to take on, especially with the prospect of developing new library components that I could use in TunerFree.</p>
<p>I won&#8217;t be publishing the full code for this project for obvious reasons, but wanted to share some of the key things I learnt from this project.</p>
<h2><span id="more-125"></span>TV Guide</h2>
<p>The first thing that WebTelek wanted was a program guide for their live TV. I wanted to produce a program guide that was as close as possible to the native TV Guide from media center.</p>
<p><img class="aligncenter size-full wp-image-127" title="Guide" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek3.jpg" alt="Guide" width="644" height="362" /></p>
<p>Some people may not realize that the Media Center SDK doesn&#8217;t give you access to standard widgets like a program guide. In fact the only visible things you get are boxes, text and you can drop your own images on the page too.  That means that everything had to built from those basic components, which as you can imagine isn&#8217;t trivial. Ideally I wanted both an x and y scrolling region to scroll down the channels and left and right through the times. Unfortunatly this wasn&#8217;t possible for two reasons &#8211; first of all media center seems to fall over when you put a scroller inside a scroller, and secondly, I need both time in step with the program boxes fixed at the top of the page, and channel naes in step with the program boxes fixed at the left of the page, and you can&#8217;t do both of those with a scroller. That meant that I needed to construct the guide scrolling vertically, but horizontally just displaying 2 hours at a time, refreshed every time you navigate right in the right hand box, or left in the left hand box.</p>
<h2>Spinner</h2>
<p>Displaying all of the guide boxes takes about 0.1 seconds to calculate, but about 1.5 seconds to display. To avoid an unpleasant user experience, I also had to find a way to display a wait spinner on the screen. Again, media center doesn&#8217;t give you access to the native spinner, so I had to build my own;</p>
<p><img class="aligncenter size-full wp-image-126" title="WebTelek2" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek2.jpg" alt="WebTelek2" width="644" height="359" /></p>
<p>The way I managed to achieve this was by surrounding the page with a &#8220;Fill&#8221; region with a &#8220;Center&#8221; region inside it, with an image inside that. I needed to animate the icon within media center, so I then added a rotation animation to the image to make it rotate like the native windows spinner, and hide/show it when I am doing processing.</p>
<blockquote>
<pre>&lt;Panel Layout="Fill" Name="Default"&gt;
&lt;Children&gt;
&lt;Panel Layout="Center" Name="spinner"&gt;
&lt;Children&gt;
&lt;Graphic Content="image://styles:Spinner" MaintainAspectRatio="true"&gt;
&lt;Animations&gt;
&lt;Animation Animation="animation://styles:spin2"/&gt;
&lt;/Animations&gt;
&lt;/Graphic&gt;
&lt;/Children&gt;
&lt;/Panel&gt;

&lt;Animation Loop="-1" Name="spin2" CenterPointPercent="0.5,0.5,0.5"&gt;
 &lt;Keyframes&gt;
 &lt;RotateKeyframe RelativeTo="Current" Time="0" Value="0deg;0,0,1" Interpolation="Linear"/&gt;
 &lt;RotateKeyframe RelativeTo="Current" Time="0.33" Value="90deg;0,0,1" Interpolation="Linear"/&gt;
 &lt;RotateKeyframe RelativeTo="Current" Time=".66" Value="180deg;0,0,1" Interpolation="Linear"/&gt;
 &lt;RotateKeyframe RelativeTo="Current" Time="1" Value="270deg;0,0,1" Interpolation="Linear"/&gt;
 &lt;RotateKeyframe RelativeTo="Final" Time="1.33" Value="360deg;0,0,1" Interpolation="Linear"/&gt;
 &lt;/Keyframes&gt;
 &lt;/Animation&gt;</pre>
</blockquote>
<p>The key to hiding and showing it is to do the work in a background thread so that the main thread is able to show the image and the animation, e.g.;</p>
<blockquote>
<pre>public GuideUI()
 {
   ShowSpinner = true;
   Microsoft.MediaCenter.UI.Application.DeferredInvokeOnWorkerThread(init, endInit, "");
 }

 public void init(object o1)
 {
   _theGuide.init();
 }

 public void endInit(object o1)
 {
   ShowSpinner = false;
 }</pre>
</blockquote>
<h2>Archive TV</h2>
<p><img class="aligncenter size-full wp-image-133" title="WebTelek4" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek4.jpg" alt="WebTelek4" width="643" height="360" /></p>
<p>The next thing in the system is a catchup screen. This contains a grid of channels, a horizontal scroller for dates, and a vertical scroller for the channels shown. I experimented with various different animations and styles for highlighting the current channel (one of which you will see in TunerFree V3), but in the end settled on a basic Scale animation. One of the important lessons in this though is when you hover over the item, use a Scale command with a scale animation, rather than a PlayAnimation command, because while Scale works on extenders, PlayAnimation does not, e.g.;</p>
<blockquote>
<pre>&lt;Condition  Source="[Input.KeyFocus]" SourceValue="true"&gt;
 &lt;Actions&gt;
 &lt;PlaySound Sound="sound://styles:FocusSound"/&gt;
 &lt;Set Target="[Background.Scale]" Value="1.3,1.3,1.3"/&gt;
 &lt;/Actions&gt;
 &lt;/Condition&gt;

...

&lt;Panel Name="Background" Layout="HorizontalFlow" Padding="5,5,5,5"&gt;
 &lt;Animations&gt;
 &lt;Animation Animation="animation://styles:ScalePicture"/&gt;
 &lt;/Animations&gt;
 &lt;Children&gt;

...

&lt;Animation Name="ScalePicture" CenterPointPercent=".5,.5,0" Type="Scale"&gt;
 &lt;Keyframes&gt;
 &lt;ScaleKeyframe Time="0"  RelativeTo="Current"  Interpolation="SCurve"/&gt;
 &lt;ScaleKeyframe Time="0.5" /&gt;
 &lt;/Keyframes&gt;
 &lt;/Animation&gt;</pre>
</blockquote>
<h2>Movies</h2>
<p><img class="aligncenter size-full wp-image-135" title="WebTelek6" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek6.jpg" alt="WebTelek6" width="644" height="363" /></p>
<p>For the movies part of the add-in, I had quite a lot of metadata to play with, such as a high resolution image, and information about the move. I wanted to find a way to show that off as well as possible, and eventually settled on a cover flow style of layout, with rotated images to the left and right of the larger central image, and with reflections of the images below each one. The key to this was finding a way of identifying if the scroller item was to the left or to the right of the current item selected so that it can be rotated in the right direction. Key to this is passing the current index item from your repeater in to each movie item;</p>
<blockquote>
<pre>&lt;me:Thumbnail Data="[RepeatedItem!a:Movie]"  Name="Thumbnails" MovieUI="[MovieUI]" RptdItemIndex="[RepeatedItemIndex]"/&gt;</pre>
</blockquote>
<p>and then within the thumbnail both storing off the current selected item, and comparing that to the passed in index, e.g.</p>
<blockquote>
<pre>&lt;Properties&gt;
 &lt;Index Name="RptdItemIndex" Index="$Required"/&gt;
 &lt;cor:Int32 Name="SelectedDifference"/&gt;
&lt;/Properties&gt;
 &lt;Locals&gt;
 &lt;MathTransformer Name="SubtractIndex" SubtractInt="[RptdItemIndex.Value]"/&gt;
 &lt;/Locals&gt;

 &lt;Rules&gt;
 &lt;Condition  Source="[Input.KeyFocus]" SourceValue="true"&gt;
 &lt;Actions&gt;
 &lt;PlaySound Sound="sound://styles:FocusSound"/&gt;
 &lt;Set Target="[Background.Scale]" Value="1.3,1.3,1.3"/&gt;
 &lt;Set Target="[MovieUI.SelectedMovie]" Value="[RptdItemIndex.Value]"/&gt;
 &lt;/Actions&gt;
 &lt;/Condition&gt;

 &lt;Binding Target="[SelectedDifference]" Source="[MovieUI.SelectedMovie]" Transformer="[SubtractIndex]" /&gt;

 &lt;Condition Source="[SelectedDifference]" ConditionOp="LessThan" SourceValue="0"
  Target="[Background.Rotation]" Value="75deg;0,1,0" /&gt;
 &lt;Condition Source="[SelectedDifference]" ConditionOp="GreaterThan" SourceValue="0"
  Target="[Background.Rotation]" Value="-75deg;0,1,0" /&gt;
 &lt;Condition Source="[SelectedDifference]" ConditionOp="Equals" SourceValue="0"
  Target="[Background.Rotation]" Value="0deg;0,1,0" /&gt;</pre>
</blockquote>
<p>and then as you scroll through the items, they neatly rotate in to the right place.</p>
<p>Clicking on a movie takes you to a full page of details, with the ability to play different chapters of the movie;</p>
<p><img class="aligncenter size-full wp-image-136" title="WebTelek7" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek7.jpg" alt="WebTelek7" width="644" height="361" /></p>
<h2>Search</h2>
<p><img class="aligncenter size-full wp-image-137" title="WebTelek8" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek8.jpg" alt="WebTelek8" width="643" height="362" /></p>
<p>Normally for a search page, I would just use a standard triple-tap text entry region. Unfortunately, since Russian text entry was a key requirement here, that wasn&#8217;t sufficient. I therefore had to adapt the keyboard from the &#8220;Z&#8221; project in the media center SDK to meet my needs. This involved changing it to have Russian characters as an option, to change the actions to behave properly for a search box on a page, and to shrink the UI so that it could fit side by side with the search results. Not trivial, but I would strongly recommend looking at that project as a starting place for building your own keyboard if you have special requirements.</p>
<p>The other thing you will see on this page is the highlighting round the selected item in the search results list. This was done by swapping in and out a selected and unselected panel depending on the focus, e.g.</p>
<blockquote>
<pre>&lt;Condition Source="[Input.KeyFocus]" SourceValue="true"&gt;
 &lt;Actions&gt;
&lt;!-- when focused, play a sound and show the Selected region --&gt;
 &lt;PlaySound Sound="sound://styles:FocusSound"/&gt;
 &lt;Set Target="[Selected.Visible]" Value="true"/&gt;
 &lt;Set Target="[Unselected.Visible]" Value="false"/&gt;
 &lt;/Actions&gt;
 &lt;/Condition&gt;

 &lt;Condition  Source="[Input.KeyFocus]" SourceValue="false"&gt;
 &lt;Actions&gt;
&lt;!-- when unfocused, show the unselected region --&gt;
 &lt;Set Target="[Selected.Visible]" Value="false"/&gt;
 &lt;Set Target="[Unselected.Visible]" Value="true"/&gt;
 &lt;/Actions&gt;
 &lt;/Condition&gt;

...

&lt;Panel Layout="VerticalFlow"&gt;
 &lt;Children&gt;
&lt;!-- shown when selected --&gt;
   &lt;Graphic Name="Selected" Content="image://styles:TextBorder" &gt;
     &lt;Children&gt;

       &lt;Panel Layout="HorizontalFlow"&gt;
         &lt;Children&gt;
           &lt;Text Name="ProgramName2" Color="White" Font="Sergio UI,20,Bold" WordWrap="false" Margins="5,10,0,0"/&gt;

         &lt;/Children&gt;
       &lt;/Panel&gt;
     &lt;/Children&gt;
   &lt;/Graphic&gt;
&lt;!-- shown when not selected --&gt;
   &lt;Panel Name="Unselected" Layout="HorizontalFlow"&gt;
     &lt;Children&gt;
       &lt;Text Name="ProgramName" Color="LightBlue" Font="Sergio UI,18" WordWrap="false" Margins="5,0,0,0"/&gt;
     &lt;/Children&gt;
   &lt;/Panel&gt;
 &lt;/Children&gt;
&lt;/Panel&gt;</pre>
</blockquote>
<p>The key to getting it looking like the media center selection is to draw a nice rounded button with a circular shade in it. I use the open source <a href="http://www.gimp.org/" target="_blank">GIMP</a> package to draw all of my images, and something like this can be achieved quite easily with that.</p>
<h2>Preferences</h2>
<p><img class="aligncenter size-full wp-image-138" title="WebTelek9" src="http://blog.milliesoft.co.uk/wp-content/uploads/2009/06/WebTelek9.jpg" alt="WebTelek9" width="644" height="361" /></p>
<p>Finally, the system had to run in multiple languages, and change which language it is running in based on user preference, not based on installed language (there are many US customers running with US English installations who want to have the WebTelek software running in Russian). Media Center gives no kind of native support for language switching like that, so I put the different language prompts in a static class;</p>
<blockquote>
<pre>public static class Language
 {
 public static String PlayPart, Loading, Actors, Length, mins, Producer, NoMovieDetails, Categories, Genres;

 public static void setLanguage(string language)
 {

 switch (language)
 {
 case "US":
 Loading = "Loading";
...</pre>
</blockquote>
<p>and then in the UI class for each page, exposed the prompt;</p>
<blockquote>
<pre>public string PreferencesText
 {
 get
 {
 return Language.Preferences;
 }
 }</pre>
</blockquote>
<p>This allows the text to be referenced in many places without constantly re-instantiating a new class, and also allows for the text to be changed on the fly without re-entering the application.</p>
<h2>Summary</h2>
<p>Hopefully I have managed to share some useful development tips, and if you are looking to get some Russian television within media center, hopefully I have enticed you enough to sign up with <a href="http://www.webtelek.com/register.php" target="_blank">WebTelek</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/06/webtelek-media-center-add-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wanted: Plugin developers for TunerFreeMCE</title>
		<link>http://blog.milliesoft.co.uk/2009/06/wanted-plugin-developers-for-tunerfreemce/</link>
		<comments>http://blog.milliesoft.co.uk/2009/06/wanted-plugin-developers-for-tunerfreemce/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 08:18:16 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[TunerFreeMCE]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=117</guid>
		<description><![CDATA[I am currently working on a plugin feature for TunerFreeMCE to allow other people to produce plugins for TV content from any source. The idea is that you specify some metadata about the channels (e.g. channel names, logos, details of how to get the program list), and the TunerFree code takes care of reading it and [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently working on a plugin feature for <a href="http://www.milliesoft.co.uk/tunerfree.php">TunerFreeMCE</a> to allow other people to produce plugins for TV content from any source. The idea is that you specify some metadata about the channels (e.g. channel names, logos, details of how to get the program list), and the TunerFree code takes care of reading it and producing a list of programs.</p>
<p>At the moment I am looking for people who would like to work on a plugin to test this. Ideally you need;</p>
<p>1) A channel that you want to add<br />
2) html and xml skills to be able to produce the metadata</p>
<p>If you are interested in producing a plugin, e-mail me at martin@milliesoft.co.uk</p>
<p>Thanks</p>
<p>Martin</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/06/wanted-plugin-developers-for-tunerfreemce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simpler popup dialog</title>
		<link>http://blog.milliesoft.co.uk/2009/04/simpler-popup-dialog/</link>
		<comments>http://blog.milliesoft.co.uk/2009/04/simpler-popup-dialog/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 22:42:31 +0000</pubDate>
		<dc:creator>Martin Millmore</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[mcml]]></category>

		<guid isPermaLink="false">http://blog.milliesoft.co.uk/?p=105</guid>
		<description><![CDATA[In a previous post on adding a version checker to media center, I gave an example of how to write a popup dialog box for media center. There is also a simpler version of the Dialog if you don&#8217;t need to know anything about the response, e.g. if you are simply showing an information message. [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post on adding a <a href="http://blog.milliesoft.co.uk/2009/02/adding-a-version-checker/">version checker</a> to media center, I gave an example of how to write a popup dialog box for media center. There is also a simpler version of the <a href="http://msdn.microsoft.com/en-us/library/ms814612.aspx" target="_blank">Dialog</a> if you don&#8217;t need to know anything about the response, e.g. if you are simply showing an information message. This simpler version doesn&#8217;t require a callback to be defined, or any complex button definitions. It just needs a title, some text, a button name, a timeout and whether or not it is modal. Here&#8217;s an example;</p>
<pre><code>      &lt;Condition Source="[Preferences.TwitDialog]" SourceValue="true" ConditionOp="ChangedTo"&gt;
        &lt;Actions&gt;
          &lt;Set Target="[Preferences.TwitDialog]" Value="false"/&gt;
          &lt;Invoke Target="[AddInHost.MediaCenterEnvironment.Dialog]"
                  caption="Authorize Twitter"
                  text="Please authorize twitter."
                  buttons="Ok"
                  timeout="15"
                  isModal="true"/&gt;

        &lt;/Actions&gt;
      &lt;/Condition&gt;</code></pre>
<p>The buttons can only be ones from the list described in the <a href="http://msdn.microsoft.com/en-us/library/ms814612.aspx" target="_blank">documentation</a>. A modal window requires either the user or a timeout to close it before any other actions can be done, whereas a modeless window allows the user to continue with other things in the meanwhile.</p>
<p>The dialog is fired in this example by a property which is set in the code to true, and then set back to false when it is read. The condition only fires when the value is set to true in the first place by using the ConditionOp.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milliesoft.co.uk/2009/04/simpler-popup-dialog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
