shahine.com/omar/

homepage | Send mail to the author(s) contact

yet another Microsoft blogger

# Saturday, March 06, 2004

Media Center Project

For the past few weeks I've been working on support for the Front Panel Display that my custom build Media Center has. For about a year it was dark (not doing anything). But a few weeks ago, I got hold of some code from Ian Kennedy to talk to the display using C# and managed code. I also got hold of some sample code on how to write a Media Center Sink using managed code (you need to expose the class library as a COM object). All of this is documented in the Media Center 2004 SDK but all the code and related samples are in C++ (not something I care to know anything about, ever).

For me this was a great programming exercise. I wrote an Interface (allowing others to write plugins for their particular Front Panel Display), code to handle dynamic loading of assemblies, a state machine for aggregating Media Center State, Installer code for doing the COM registration using (non trivial for me), an MSI for doing all the right magic, and of course figuring out how to expose a C# class library as a COM object.

Would people be interested in having a look at this stuff? Is there anyone out there that is running Media Center and wants to write their own custom Front Panel Display? If so I might figure out a way to release this code.

Here is the result of the work I did. You can see that we are in a My Music session, playing Train Wreck from the latest Sarah McLachlan CD.

 

Saturday, March 06, 2004 4:40:52 PM (Pacific Standard Time, UTC-08:00)
This is very cool! HiFi form-factor support and 10' display is a must for all hardware/software vendors. It would be damn cool to have managed access for far more of the OS/App state - roll on Longhorn!

Out of interest does the display scroll too? [yet ;)] Or is this something that you have to code for?
Monday, March 08, 2004 2:24:53 PM (Pacific Standard Time, UTC-08:00)
Hi Omar. I think your sample code on how to write custom event sinks in C# within the context of the Media Center SDK would be quite useful. Let me know when you plan on releasing it.
Albert Ho [msft]
Tuesday, September 21, 2004 8:35:26 AM (Pacific Daylight Time, UTC-07:00)
Hi Omar

You have done what I would like to have the time and ability to do, get my VFD on my media PC running Windows MCE 2004 to display what MCE is currently doing.

I have a Samsung 16T202DA1E (16 x 2 alphanumeric) VFD in my media (HiFi) PC, which looks very similar to yours.

What I would love, is to be able to simply install an application and have it default to display the current MCE activity on the VDF... are you able to do this? If you are, I am willing to contribute in any way I can, including financially.

Please let me know.

Looking forward to your response.

Kind regards

Melville
Melville Carrie
Monday, February 14, 2005 9:20:58 AM (Pacific Standard Time, UTC-08:00)
Hi Omar

Well impressed with that. I've been using JalCDs for a while now, but it doesn't integrate with MCE. :(

If you do get around to releasing the code I'd be interested.

Cheers

Craig.
Craig
Friday, March 18, 2005 1:02:06 PM (Pacific Daylight Time, UTC-07:00)
Great job Omar.

This would be great to experiment with, and perhaps it could be 'productized' eventually. VFDs are getting more popular, especially with new cases appearing, such as Silverstone LC03V (a beauty) and others.

If it works well with MCE 2005, I'd pay for it - $19.95 for such a utility would be very reasonable, imho.

-jcf-
John
Comments are closed.