<?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/"
	>

<channel>
	<title>englishteeth.co.uk</title>
	<atom:link href="http://www.englishteeth.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.englishteeth.co.uk</link>
	<description>... the weblog of Ian "English Teeth" Robinson</description>
	<pubDate>Sat, 30 May 2009 14:39:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up Windows Media Center</title>
		<link>http://www.englishteeth.co.uk/2009/05/30/vmc-setup/</link>
		<comments>http://www.englishteeth.co.uk/2009/05/30/vmc-setup/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:20:56 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[htpc]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=176</guid>
		<description><![CDATA[At this point this all file types and HD-DVD/blu-ray should be working.
This is a clean blank set up and I should (though I never do) back up/take an image, whatever..
Everything OK - Media Center Set-up -sort out the guide listings.
Scan for channels
Do a manual scan on 10714.00 H, 22000 for Channel4 and Film4 +1
See this [...]]]></description>
			<content:encoded><![CDATA[<p>At this point this all file types and HD-DVD/blu-ray should be working.<br />
This is a clean blank set up and I should (though I never do) back up/take an image, whatever..</p>
<p>Everything OK - Media Center Set-up -sort out the guide listings.<br />
Scan for channels<br />
Do a manual scan on 10714.00 H, 22000 for Channel4 and Film4 +1<br />
See this link for all the freesat channels with frequencies - http://en.kingofsat.net/tv-28.2E.php.</p>
<p>If desired, <a href="http://thegreenbutton.com/forums/1/297287/ShowThread.aspx">tweak registry for ITV HD</a>.</p>
<p>Because ITV HD is a red button interactive service it needs to be set up as a separate channel.<br />
Vista will not see it when doing a channel scan unless MHEG (red button) on DVB-S is enabled.<br />
Run regedit and browse to<br />
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionMedia CenterSettingsTVConfig<br />
Change the value of &#8220;fAllowDvbsMHEG&#8221; from 0 to 1.</p>
<p>Do a manual satellite scan with the values: 11428, 27500, H.<br />
A few new channels should be found including 10510 which is ITV HD.<br />
(If you don&#8217;t find these try 11426 and 11427 instead of 11428.)</p>
<p>Rename channel 10510 to ITV HD by going to the guide and highlighting the 10510 channel name before using &#8220;More Info&#8221; to edit the channel.<br />
You can then use the rename channel option to set it to be ITV HD.</p>
<p>Q. I&#8217;ve been watching ITV HD and have switched to BBC HD and the screen fades to black after a second, what&#8217;s going on?<br />
A. No one is quite sure.  However, this is easy to fix by pressing Stop and then Live TV again. If this does not work then close the Media Center application before re-opening it.</p>
<p>Check Guide listings present<br />
Scan for the channels the standard scan doesn&#8217;t</p>
<p>Finally, <a href="http://thegreenbutton.com/forums/thread/255723.aspx">Tweak the menus</a> - If you want to!</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-software">Back to the Software&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/05/30/vmc-setup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista Media Center Software to play stuff</title>
		<link>http://www.englishteeth.co.uk/2009/05/30/vmc-software/</link>
		<comments>http://www.englishteeth.co.uk/2009/05/30/vmc-software/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:15:56 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[htpc]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=172</guid>
		<description><![CDATA[My last hardware update was bubbling under for quite a while. My graphics card was good, but I wanted better, more efficient HD playback.
An article be Jeff Atwood on just that &#8220;Easy, Efficient Hi-Def Video Playback&#8221; was the final push necessary.
In it Jeff decribes a great solution, using a magic DLL from Media Player Classic [...]]]></description>
			<content:encoded><![CDATA[<p>My last hardware update was bubbling under for quite a while. My graphics card was good, but I wanted better, more efficient HD playback.<br />
An article be <a href="http://www.codinghorror.com">Jeff Atwood</a> on just that &#8220;<a href="http://www.codinghorror.com/blog/archives/001197.html">Easy, Efficient Hi-Def Video Playback</a>&#8221; was the final push necessary.<br />
In it Jeff decribes a great solution, using a magic DLL from Media Player Classic Home Cinema (http://mpc-hc.sourceforge.net/).</p>
<ol>
<li>download the <a href="http://sourceforge.net/project/showfiles.php?group_id=170561">standalone MPC-HC filters</a>.</li>
<li>Extract MPCVideoDec.ax and copy it into c:windowssystem32</li>
<li>Open a command prompt, navigate to c:windowssystem32, and run regsvr32 MPCVideoDec.ax</li>
</ol>
<p>Jeff also indicated that he needed to use something like <a href="http://www.free-codecs.com/download/RadLight_Filter_Manager.htm">Radlight Filter Manager</a> to assign H.264/AVC, but when I go to this step it was already selected.</p>
<p>Unfortunately I still needed FDDShow Audio Decoder to correctly <a href="http://www.cccp-project.net/wiki/index.php?title=FAQ#How_can.2Fshould_I_setup_the_CCCP_components_for_S.2FPDIF_audio_output.3F">handle AC3 and DTS over SPDIF</a> for all file formats.<br />
I installed the <a href="http://www.cccp-project.net/">CCCP Pack</a>, as this is what I had always installed previously, but it may be overkill if the magic dll does all that is supposed (and seems) to do.<br />
Some investigation is probably required here, but for now things are working.</p>
<p>Prior to the <a href="http://mpc-hc.sourceforge.net/">Media Player Classic Home Cinema</a> solution, I&#8217;d swear by the <a href="http://www.cccp-project.net/">CCCP Pack</a>, an excellent codec/filter package.</p>
<p>I hate the lack of options when it comes to Blu-ray playback. The options consist of the most unstable, unreliable software releases I have ever encountered.<br />
Until recently I have gone with Power DVD, but I&#8217;m now running with <a href="http://www.arcsoft.com/estore/software_title.asp?ProductCode=TMT3P">Arcsoft TotalMedia Theatre</a> due to it&#8217;s better integration with Media Center and the option to down sample Dolby True HD, which my current amplifier cannot handle. At this point we have a clean install, now is the time to install it (and the only point I&#8217;ve ever had it reliably work). I&#8217;m still not convinced on the repeatability of this, but I&#8217;m giving it a go.</p>
<p>MST Standby tool (http://slicksolutions.eu/mst.shtml) - simply the simplest and best tool for making sure your stand by and resume settings are correct (HTPC or otherwise)<br />
LED Driver tool (http://slicksolutions.eu/ledsdriver.shtml) - This is a great application from Herman van Eijk (http://slicksolutions.eu/), who wrote MST Standby. When combined with a very simply DIY project (http://www.degroeneknop.nl/forum/index.php/topic,4809.0.html), this can turn you HTPC into a much more living room friendly DVR.</p>
<p><a href="http://www.slysoft.com/en/anydvdhd.html">AnyDVD HD</a> - You just need it.</p>
<p><a href="http://www.disk-tools.com/download/daemon">Deamon tools lite</a> or <a href="http://www.slysoft.com/en/virtual-clonedrive.html">Virtual CloneDrive</a> - I&#8217;m still undecided on which.</p>
<p><a href="http://www.mediabrowser.tv/">Media Browser</a> plug-in - need to tweak configuration so My Videos is not the root folder containing my library</p>
<p><a href="http://www.milliesoft.co.uk/index.php?option=com_content&#038;view=article&#038;id=9&#038;Itemid=11">Tuner Free MCE</a> plug-in</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers">Back to the operating system and drivers&#8230;</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-setup">On to the Media Center Software&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/05/30/vmc-software/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista Media Center Operating System &amp; Drivers</title>
		<link>http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers/</link>
		<comments>http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:10:32 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[htpc]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=168</guid>
		<description><![CDATA[So everything is put together and connected up&#8230;
Install O/S - blitz main partition/primary drive. (If this is a re-install you&#8217;re fine, because all you media is on the second drive.)
Nothing to say about this bit. Follow the prompts and make a brew in between.
Start up and deal with any primary drivers not installed automatically.
Obviously the [...]]]></description>
			<content:encoded><![CDATA[<p>So everything is put together and connected up&#8230;</p>
<p>Install O/S - blitz main partition/primary drive. (If this is a re-install you&#8217;re fine, because all you media is on the second drive.)<br />
Nothing to say about this bit. Follow the prompts and make a brew in between.</p>
<p>Start up and deal with any primary drivers not installed automatically.</p>
<p>Obviously the main focus here is the Motherboard, Graphics card and Sound. Though in my current set-up the Vista install picked up everything straight away and correctly.<br />
(Even the BIOS, which though wasn&#8217;t the latest, was up to date for the processor I was running.)</p>
<p><em>NB Initially I answered yes to ACHI SATA configuration, but felt latter that this may have been the cause of the system occasionally freezing. I hadn&#8217;t pre-installed a specific windows driver for this first, which seemed (from reading around) to be required. The feature wasn&#8217;t something I particularly wanted at present, so it was easier just to go back to IDE mode.</em></p>
<p>The only hardware element I needed to install was the TV Card.<br />
I went for the <a href="http://shop.blackgold.tv/WebRoot/BT/Shops/BT3159/49CC/CE0E/48A5/0342/701F/0A0A/33E8/E99C/BGT3540_6_002E_0_002E_0_002E_49_32bit.zip">latest drivers</a> straight from the <a href="http://shop.blackgold.tv/">Black and Gold website</a>.</p>
<p>As things currently stand, the most irritating bit of an install is with the Media Center TV Pack for Windows Vista (Fiji). Not because it&#8217;s difficult, just because it&#8217;s not seamless. Despite it being a legitimate and supported OEM update (at least most of it and you can&#8217;t just get it from legitimate channels) , it does feel a little messy, though saying that, installing MCE form the original media was even less well strung together.</p>
<p>As ever, the green button and av forum has the <a href="http://www.avforums.com/forums/windows-vista/820671-windows-media-center-tv-pack-2008-a.html">low down on the TV Pack</a>.</p>
<p>Prerequisites:<br />
A PC meeting the <a href="http://support.microsoft.com/kb/919183">minimum hardware requirements for Windows Vista</a><br />
Clean install of Windows Vista Home Premium or Ultimate with Service Pack 1</p>
<p>Installation Instructions:</p>
<p>1. Windows Media Center TV Pack 2008 (x86)<br />
2. Install the <a href="http://www.microsoft.com/downloads/d...DisplayLang=en">PlayReady PC Runtime</a> (x86)<br />
3. Install the following patches from the Download Center (both of these are included in the ZIP file)<br />
    <a href="http://support.microsoft.com/default.aspx/kb/951685">KB951685</a> - The video playback application stops responding when you watch video or Live TV on a Windows Vista-based computer<br />
    <a href="http://support.microsoft.com/kb/950754">KB950754</a> - Noticeable problems occur in the video when you use the DirectSound renderer on Windows Vista<br />
4. Install any required or recommended Windows Updates</p>
<p>And even when you&#8217;ve installed that, you need to re-enable HD content.<br />
HD Driver Hack H.264</p>
<p>Move &#8220;My&#8221; folders to the second drive.</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-hardware">Back to the hardware&#8230;</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-software">On to the Software&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista Media Center Hardware</title>
		<link>http://www.englishteeth.co.uk/2009/05/30/vmc-hardware/</link>
		<comments>http://www.englishteeth.co.uk/2009/05/30/vmc-hardware/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:05:29 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[htpc]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=162</guid>
		<description><![CDATA[My hardware desirements currently consist of:

Silverstone LC14MC Case
Gigabyte GA-MA78GM-US2H, AMD 780G
AMD Athlon 64 X2 5050e, Socket AM2
2GB DDR2-800 PC2-6400
LG GGC H20L Blu-Ray/HD-DVD Rom Combo Drive
BlackGold BGT3540 DVB-S and DVB-T tuner card
Media Center IR Receiver
2 Hard Drives

I prefer two drives, but this is not essential. I like to separate the operating system from the media. I [...]]]></description>
			<content:encoded><![CDATA[<p>My hardware desirements currently consist of:</p>
<ul>
<li><a href="http://www.silverstonetek.com/products/p_contents.php?pno=lc14">Silverstone LC14MC Case</a></li>
<li><a href="http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2995">Gigabyte GA-MA78GM-US2H, AMD 780G</a>
<li><a href="http://www.legitreviews.com/article/850/1/">AMD Athlon 64 X2 5050e, Socket AM2</a></li>
<li>2GB DDR2-800 PC2-6400</li>
<li><a href="http://www.hardwarezone.com/articles/view.php?cid=29&#038;id=2438">LG GGC H20L Blu-Ray/HD-DVD Rom Combo Drive</a></li>
<li><a href="http://shop.blackgold.tv/epages/BT3159.sf/en_GB/?ObjectPath=/Shops/BT3159/Products/BGT3540">BlackGold BGT3540 DVB-S and DVB-T tuner card</a></li>
<li>Media Center IR Receiver</li>
<li>2 Hard Drives</li>
</ul>
<p>I prefer two drives, but this is not essential. I like to separate the operating system from the media. I have found that the additional set-up steps is far out weighed by the simplicity to reinstall cleanly and quickly if necessary. As I said, I tinker, so occasionally I want to blast things back to basics with minimal interruption.<br />
You could also partition a single drive for the same benefit, but I read somewhere that having a second physical drive for data read/writes improves performance.<br />
Being that my HTPC is primarily a digital video recorder (DVR), this seemed to ring true.</p>
<p>I modified the case, replacing the hard drive indicator LED with one that runs from a COM port header. Just being able to visually see the operating mode as coloured light makes the unit feel much more like a set-top box.</p>
<p>This is connected to an AV amplifier via SPDIF and a 46&#8243; 1080p HD LCD TV via DVI.<br />
(Previous hardware did not have HDMI and as I didn&#8217;t/don&#8217;t need audio to the screen, DVI was fine - so that&#8217;s the cable in the wall. With hindsight, Not very future proof.)</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-setup-instructions">Back&#8230;</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers">On to the Operating system and drivers&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/05/30/vmc-hardware/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista Media Center Installation and set-up instructions</title>
		<link>http://www.englishteeth.co.uk/2009/05/30/vmc-setup-instructions/</link>
		<comments>http://www.englishteeth.co.uk/2009/05/30/vmc-setup-instructions/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:00:22 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[htpc]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=160</guid>
		<description><![CDATA[I wanted to put together a set of instructions for a Home Theatre PC destined to fit into the living room and be accepted as part of the TV as opposed to a computer.
There are a couple of little tricks that are outside the install wizards that I think make things work that little bit [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to put together a set of instructions for a Home Theatre PC destined to fit into the living room and be accepted as part of the TV as opposed to a computer.<br />
There are a couple of little tricks that are outside the install wizards that I think make things work that little bit better.</p>
<p>I have done this a few times now (because I can&#8217;t resist tinkering), sometimes from notes and sometimes from memory, but I wanted to capture and collect the nuances (if any).<br />
Actually, the process has become simpler as the software support has improved and I have moved from Windows XP Media Center Edition 2005 (MCE) to <a href="http://www.microsoft.com/windows/windows-vista/features/media-center.aspx">Windows Media Center within Vista Home Premium</a> (VMC). I&#8217;ve stuck to 32-bit builds of the operating systems, partly because of the issues I&#8217;ve read on drivers and partly because the H.264 functionality for the Fiji TV Pack is so far only 32-bit. I am currently experimenting with a 64-bit build of Windows 7, but that&#8217;s for another day.</p>
<p>The instructions here are particular to my hardware configuration, but only in the finer detail. The general process steps have remained consistent even when the hardware and software has varied. The building blocks of what you need for a HTPC are pretty constant.</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-hardware">PC with TV tuner and optical media drive</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-os-and-drivers">Operating system and drivers</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-software">Software to play stuff, such as Mpeg decoder, codecs and filters</a><br />
<a href="http://www.englishteeth.co.uk/2009/05/30/vmc-setup">The Media Center Software</a></p>
<p>All of this stuff is out there to be searched for and I&#8217;ve tried to include the appropriate links at the appropriate points.</p>
<p><a href="http://www.englishteeth.co.uk/2009/05/30/vmc-hardware">On to the hardware&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/05/30/vmc-setup-instructions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JBoss not using the deployed Xalan jar</title>
		<link>http://www.englishteeth.co.uk/2009/02/20/jboss-xalan-and-me/</link>
		<comments>http://www.englishteeth.co.uk/2009/02/20/jboss-xalan-and-me/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 12:09:36 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jboss]]></category>

		<category><![CDATA[xalan]]></category>

		<category><![CDATA[xerces]]></category>

		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=111</guid>
		<description><![CDATA[Something that felt like forever to track down…
A test  running problem free on the test server was throwing a transformer error locally:

javax.xml.transform.TransformerException:
	Had IO Exception with stylesheet file: C:\jboss-4.0.3SP1\server\default\conf\documentservice\pmi\include.xslt
	at org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:126)
...

On the surface, it looked like there was no difference in the environments; same deployed war file, same JBoss version, same Java version, same everything. Obviously [...]]]></description>
			<content:encoded><![CDATA[<p>Something that felt like forever to track down…</p>
<p>A test  running problem free on the test server was throwing a transformer error locally:<br />
<code><br />
javax.xml.transform.TransformerException:<br />
	Had IO Exception with stylesheet file: C:\jboss-4.0.3SP1\server\default\conf\documentservice\pmi\include.xslt<br />
	at org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:126)<br />
...<br />
</code></p>
<p>On the surface, it looked like there was no difference in the environments; same deployed war file, same JBoss version, same Java version, same everything. Obviously something was different…</p>
<p>Xalan 2.7.0 was distributed in the WEB-INF/lib of the war, but stepping through the code on the failing local server, the byte code didn’t match the attached source. It wasn’t 2.7.0 being used, it was actually the 2.6.0 version shipped with JBoss (found in lib/endorsed).</p>
<p>It turns out that libraries in the lib/endorsed directory are considered system libraries by virtue of being loaded by the System and bootstrap class loaders and as such being used in preference to deployed war files version. (It should be noted that this is an older version of JBoss, namely 4.0.3 SP1.)</p>
<p>That explained why the wrong class was being picked up locally, but not why it worked in the test server environment.</p>
<p>The main difference was that the server was being run as a service on the test server and via a batch file locally.</p>
<p>Purely by chance, the endorsed.dirs parameter had been missed from the configuration of the service wrapper.</p>
<p><code>wrapper.java.additional.2=-Djava.endorsed.dirs=%JBOSS_HOME%\lib\endorsed</code></p>
<p>Striking this out of the local batch file, sanity returned once more.</p>
<p><code>rem set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed</code></p>
<p>Removing Xalan and Xerces from lib\endorsed would have much the same effect and is proposed in <a href="https://jira.jboss.org/jira/browse/JBAS-2073">this jira task</a> at jboss.org</p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/02/20/jboss-xalan-and-me/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The DVD Library in Vista Media Center</title>
		<link>http://www.englishteeth.co.uk/2009/02/12/vmc-dvd-library/</link>
		<comments>http://www.englishteeth.co.uk/2009/02/12/vmc-dvd-library/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 20:31:39 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[movies]]></category>

		<category><![CDATA[open source]]></category>

		<category><![CDATA[video browser]]></category>

		<category><![CDATA[vmc]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=99</guid>
		<description><![CDATA[I&#8217;m a fan of the DVD Library functionality built into Windows Media Center Edition and Vista Media Center. I prefer it over something like My Movies purely because of it&#8217;s slickness and simplicity.
Though I have no idea why the ability to enable it is not a core configuration option, the methods are well enough documented [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan of the DVD Library functionality built into Windows Media Center Edition and Vista Media Center. I prefer it over something like My Movies purely because of it&#8217;s slickness and simplicity.</p>
<p>Though I have no idea why the ability to enable it is not a core configuration option, the methods are well enough documented around the place.</p>
<p>With such simplicity however, you often run into a restriction or a niggle that in a stand alone set-top box you may well just live with. With an HTPC though, which is most definitely a labour of love, you search an probe for a way to do that particular thing you want to do.</p>
<p>My niggle was that I wanted files other than DVD images to be accessible via the DVD Library. This desire was further provoked by Vista listing movies I recorded from TV in the library. This was almost enough. If I could have moved these movies out of the Recorded TV area and still have access to them, but no. </p>
<p>I found references to other format files being made accessible to extenders from the DVD Library via play lists and virtual links. I was again spurred on. </p>
<p>Ultimately though I was disappointed to find that these only worked from the extender and locally the DVD Library was truely limited to DRMS or WTV files located in a watched TV folder or DVD files.</p>
<p>I came across a free plug-in called Video Browser, but I was sceptical. I really didn&#8217;t want to install a plug-in to solve something I felt there must be a way around in the core software.</p>
<p>Nevertheless, in a fit of idle curiosity I installed it and pointed it at my folder of DVD Images.</p>
<p>Excellent. By default I had an interface almost identical to that of the DVD Library (at least in that release), but with a richer detail screen and the promise of other file types. There were eye-candy back drops and cover art for nearly every film without me doing anything. The plug-in is really slick and integrates seamlessly.</p>
<p>Slowly I started moving my other movie files into the sights to the plug-in. It has a simple convention&#8230;</p>
<p><em>Create a folder for the movie and drop your file, image or whatever into it.</em></p>
<p>After a spousal consultation, I gave up on the standard DVD Library &#8220;poster&#8221; view and moved to the detail view.</p>
<p>I then started thinking about the series I had and moved them over. I played with the options and tried the supporting metadata tools for getting more images and information Media Scout and Salamis movie browser (which is a stripped back version of the My Movies data capture interface tuned to the plug-in).</p>
<p>Finally, I moved the library, movies, series and all to the Home Server, something I&#8217;d never felt ready to do with my &#8220;open issues&#8221; with the DVD Library. </p>
<p>I feel my quest for the solution to my original niggle may be over.<br />
Until the next one that is&#8230;</p>
<p>One problem with video browser is aside effect of a very positive side of it. It is in beta and is under the seemingly constant attention of its contributing developers. Even while writing this post and update was released which significantly changed the detail screens and removed some of the big brash eye candy banner art for a more subtle presentation.</p>
<p>But the project from the forum the developers seem open to suggestions and besides, it is also open source. If I really want something a certain way, I just need to pull my finger out and make it so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/02/12/vmc-dvd-library/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gone phishing</title>
		<link>http://www.englishteeth.co.uk/2009/01/27/gone-phishing/</link>
		<comments>http://www.englishteeth.co.uk/2009/01/27/gone-phishing/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 21:41:12 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[attack]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=83</guid>
		<description><![CDATA[It&#8217;s been a while since I posted, it&#8217;s been a busy few months. However the inertia is certainly partially down to me feeling that I needed to post about the site attack by some phishing scam towards the end of last year.
All of a sudden traffic to the site peaked massively, but the first I [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I posted, it&#8217;s been a busy few months. However the inertia is certainly partially down to me feeling that I needed to post about the site attack by some phishing scam towards the end of last year.</p>
<p>All of a sudden traffic to the site peaked massively, but the first I noticed was a couple of comments on posts that I almost dismissed as spam themselves. To the senders of those e-mails, I apologise.</p>
<p>Grant wrote:</p>
<blockquote><p>You or someone using your website is sending fradulent, illegal phishing mail to customers of Bank of America. If it’s you, you’ll end up in jail. If it isn’t, someone you know, or not, will be going to jail soon. While there, they will have a broomstick rammed up their asshole.</p></blockquote>
<p>Nice sentiment&#8230;</p>
<p>Veritas wrote:</p>
<blockquote><p>Someone hacked you blog and is using it to redirect for phishing</p></blockquote>
<p>Brendan wrote:</p>
<blockquote><p>how ironic that the most recent post on your site is on security…as your site is being used by a phishing scam…from an email i just got from “Wells Fargo”</p></blockquote>
<p>Not that I feel responsible for the exploitation, but perhaps that I didn&#8217;t resolve it as quickly I could.</p>
<p>As soon as I realised what was going down, I contacted my hosting provider, locked down my site and wondered a little at the ingenuity I found in the files that had found there way into the darkest recesses of my directory structure.</p>
<p>Then, feeling a little vulnerable, I guess I pulled down the shutters and hid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2009/01/27/gone-phishing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Grails: Role based security on Jetty &amp; JBoss</title>
		<link>http://www.englishteeth.co.uk/2008/10/22/grails-security/</link>
		<comments>http://www.englishteeth.co.uk/2008/10/22/grails-security/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 20:43:48 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[grails]]></category>

		<category><![CDATA[jaas]]></category>

		<category><![CDATA[jboss]]></category>

		<category><![CDATA[jetty]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=81</guid>
		<description><![CDATA[Todays challenge.. Security!
Hardly a challenge at all really, the JSecurity Plugin - Quick Start takes you through everything you need to do and there&#8217;s also a AcegiSecurity Plugin, if that&#8217;s your bag.
There you go, post done. 
Well&#8230; unless you want/need to use JEE role based authentication at the application server level. That&#8217;s a little more [...]]]></description>
			<content:encoded><![CDATA[<p>Todays challenge.. Security!</p>
<p>Hardly a challenge at all really, the <a href="http://www.grails.org/JSecurity+Plugin+-+Quick+Start">JSecurity Plugin - Quick Start</a> takes you through everything you need to do and there&#8217;s also a <a href="http://www.grails.org/AcegiSecurity+Plugin">AcegiSecurity Plugin</a>, if that&#8217;s your bag.</p>
<p>There you go, post done. </p>
<p>Well&#8230; unless you want/need to use JEE role based authentication at the application server level. That&#8217;s a little more involved.</p>
<p>Unfortunately, this involves a little jiggery pokery in grails itself, but this is only really to have the bundled <a href="http://docs.codehaus.org/display/JETTY/How+to+Configure+Security+with+Embedded+Jetty">jetty server </a> include some security configuration. The intention here is after all, having the authentication at the application server level. </p>
<p>The task has been covered admirably at <a href="http://www.thecoderscorner.com/">the coders corner</a> in the article <a href="http://www.thecoderscorner.com/articleGen/show/10">Setting up Grails to work with JEE role based authentication</a>. This then goes on expand on how to expose the grails project&#8217;s web.xml, in order to configure the access.<br />
<code>grails install-templates</code><br />
And what you need to put in src/templates/web.xml to configure the access is covered in <a href="http://thecoderscorner.com/articleGen/show/9">Using Role based security</a>, in much greater  detail than I would want to duplicate here.</p>
<p>There really is nothing to add so far, the steps described just work.</p>
<p>The next step took a bit more digging and looking outside of grails oriented guides. The actual deployment environment I have to target is <a href="http://www.englishteeth.co.uk/2008/10/17/deplyoing-a-grails-application-to-jboss/">JBoss</a>, but the best description of the security configuration I found was in the article <a href="http://www.fusioncube.net/index.php/jboss-role-based-security">JBoss Role-Based Security</a>. </p>
<p>This got me 90% there. To bend it to grails, I had to add a little bit more to the <a href="http://www.englishteeth.co.uk/2008/10/17/deplyoing-a-grails-application-to-jboss/">jboss-web.xml file I added for deploying to JBoss</a>:</p>
<pre class="brush: xml;">
    &lt;context-root&gt;/my_app&lt;/context-root&gt;
    &lt;security-domain&gt;java:/jaas/my_app_policy&lt;/security-domain&gt;
</pre>
<p>Obviously making sure the domain matched what I had put in the JBoss configuration.</p>
<p>I also happened to include two properties files for roles and users in src\java so they were deployed with the application and reference these in the JBoss configuration file login-config.xml:</p>
<pre class="brush: xml;">
  &lt;application-policy name =&quot;my_app_policy&quot;&gt;
    &lt;authentication&gt;
      &lt;login-module code=&quot;org.jboss.security.auth.spi.UsersRolesLoginModule&quot; flag=&quot;required&quot;&gt;
        &lt;module-option name=&quot;usersProperties&quot;&gt;my_app-users.properties&lt;/module-option&gt;
        &lt;module-option name=&quot;rolesProperties&quot;&gt;my_app-roles.properties&lt;/module-option&gt;
      &lt;/login-module&gt;
    &lt;/authentication&gt;
  &lt;/application-policy&gt;
</pre>
<p>This has worked for me locally, but as I describe it, I feel that it is a bit odd having a dependency between the server configuration and specific files in a deployed application; even though their absence doesn&#8217;t seem to cause a problem. I think I might move those into the folder along with login-config.xml </p>
<p>I also believe that these could be just as easily be the default files JBoss expects by not specifying the above module-option elements.</p>
<p>All this done&#8230;</p>
<p><strong>It didn&#8217;t work!</strong></p>
<p>As soon as I tried to access a protected resource, I got a 404 error trying to locate the authentication controller actions I have in my application!</p>
<p>I couldn&#8217;t find a clear reference to this problem, but the following entry on the struts issues dashboard -<br />
<a href="https://issues.apache.org/struts/browse/WW-2025">Action&#8217;s can&#8217;t be used for web.xml declarative security URL&#8217;s</a> certainly describes the problem and also provided me with a <del datetime="2008-10-22T15:14:57+00:00">fudge</del> solution.</p>
<p>I edited my web.xml to point at a jsp:</p>
<pre class="brush: xml;">
    &lt;login-config&gt;
        &lt;auth-method&gt;FORM&lt;/auth-method&gt;
        &lt;form-login-config&gt;
            &lt;form-login-page&gt;/login_redirect.jsp&lt;/form-login-page&gt;
            &lt;form-error-page&gt;/login_redirect.jsp?success=false&lt;/form-error-page&gt;
        &lt;/form-login-config&gt;
    &lt;/login-config&gt;
</pre>
<p>and added a login_redirect.jsp:</p>
<pre class="brush: java;">
   &lt;%
        if (&quot;false&quot;.equals(request.getParameter(&quot;success&quot;))) {
            response.sendRedirect( request.getContextPath() + &quot;/auth/failed&quot; );
        } else {
            response.sendRedirect( request.getContextPath() + &quot;/auth/login&quot; );
        }
    %&gt;
</pre>
<p>Now it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2008/10/22/grails-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deplyoing a Grails application to JBoss</title>
		<link>http://www.englishteeth.co.uk/2008/10/17/deplyoing-a-grails-application-to-jboss/</link>
		<comments>http://www.englishteeth.co.uk/2008/10/17/deplyoing-a-grails-application-to-jboss/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 11:53:37 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[deploy]]></category>

		<category><![CDATA[grails]]></category>

		<category><![CDATA[jboss]]></category>

		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=82</guid>
		<description><![CDATA[So it seems that every month or so I am able to blow the dust off my little Groovy on Grails project and progress it a little. A little frustrating, since the elapsed time of this belies the gains in using grails.
I have a working application. It has a few rough edges, but for all [...]]]></description>
			<content:encoded><![CDATA[<p>So it seems that every month or so I am able to blow the dust off my little <a href="http://grails.org/">Groovy on Grails</a> project and progress it a little. A little frustrating, since the elapsed time of this belies the gains in using grails.</p>
<p>I have a working application. It has a few rough edges, but for all intents and purposes, it&#8217;s there. I just needed to see if creating war and deploying to the target environment, <a href="http://www.jboss.org/">JBoss</a>.</p>
<p>Surely it can&#8217;t be as simple as&#8230;<br />
<code>C:\local\groovy\my_app> grails war</code></p>
<p>No, it isn&#8217;t&#8230; But nearly!</p>
<p>Deploying into JBoss, the problem I hit was down to log4j and the jar within the deployed grails application conflicting with the one in JBoss.</p>
<p>Obviously this has all been covered before and a few alternatives are offered on the <a href="http://grails.org/FAQ">grails faq</a>.<br />
<a href="http://grails.org/FAQ#Q:%20I%27m%20getting%20errors%20when%20deploying%20on%20JBoss%204.0.x%20What%20do%20I%20do?">Q: I&#8217;m getting errors when deploying on JBoss 4.0.x What do I do?</a></p>
<p>First off I had to scope the application classloader. To do this for a war, create a file called jboss-web.xml with content like the following:</p>
<pre class="brush: xml;">
&lt;jboss-web&gt;
    &lt;class-loading java2ClassLoadingCompliance = &quot;false&quot;&gt;
        &lt;loader-repository&gt;
            my_app:loader=my_app-0.1.war
            &lt;loader-repository-config&gt;java2ParentDelegation=false&lt;/loader-repository-config&gt;
        &lt;/loader-repository&gt;
    &lt;/class-loading&gt;
&lt;/jboss-web&gt;
</pre>
<p>and place it in the web-app\WEB-INF folder.</p>
<p>This still isn&#8217;t quite enough to get it to work though, since the log4j.properties file used by JBoss still results in a conflict of interest. </p>
<p>Luckily enough I was able to take the preferred solution of renaming JBoss&#8217; log4j.xml to jboss-log4j.xml and editing the jboss-service.xml file such that the <em>ConfigurationURL</em> of <em>org.jboss.logging.Log4JService</em> points to the renamed file.</p>
<p>Et voila! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.englishteeth.co.uk/2008/10/17/deplyoing-a-grails-application-to-jboss/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
