An LCDSmartie compatible dll which works with TcpIpController to display Windows Media Center information on an LCD Display.

Release 0.9.16 released - working on Windows 7 x64 and x86.

Example screenshots from my 2x16 LCD display are shown below:

MediaCenter.jpg tv.jpg

Music.jpg Video.jpg

LCD Smartie Configuration

You can call the dll from the smartie configuration page using the functions below:
  • Function 1 returns my interpretation of what should be displayed for the media center status on the first display line for a 2x16 display and is called by $dll(MCE_dll.dll,1,,) Now returns “Windows 7 HTPC” if media center not running and we are connected to the local machine. If Burning a CD/DVD it will return “Burning Disc”. If a recording is in progress it will return “Record Chxx ChannelName” where xx is the channel number and ChannelName is the name of the channel. If more than one recording is running it will return “Record r Chxx ChannelName” where r is the number of recordings running. (to a maximum of 4).
  • Function 2 returns an interpretation for the second display line for a 2x16 display using session status and is called by $dll((MCE_dll.dll,2,,). If media center is not running it returns the current date/time. If Burning a CD/DVD it will return the percentage complete. If a recording is in progress it will return the name of the program being recorded.
  • Function 3 returns the version number of the dll and is called by $dll(MCE_dll.dll,3,,)
  • Function 4 returns the values of the tags supplied. You can have 1 or 2 tag names e.g. $dll(MCE_dll.dll,4,ArtistName,TrackName). If the tag supplied is a time value and you want the integer equivalent in seconds returned then add an ‘i’ to the tag name. This is useful for displaying the elapsed and total times as a bar using the Smartie $BAR function. If the tag is a Boolean this function will return ‘True’ or ‘False’ (add an i to the tag name to have a 1 or 0 returned where 1=true).
  • Function 11 returns an interpretation of the first display line for a 2x16 display using session status and is called by $dll(MCE_dll.dll,11,,)
  • Function 12 is similar to function 2 without the running, recording or burning overrides.
  • (Note that functions 5,6,7,8 have been removed as they are no longer needed.)
  • Function 19 re-reads the ini file and the cfg file if present.
  • Function 20 checks if a process is active using the process file name. If active it returns param 2 otherwise a space. E.g. $dll(MCE_dll,20,ehshell.exe,Media Center Active) will check if media centre is active. Note this works in win7 x64 and x86

Have fun and please let me know of any bugs, limitations or suggested improvements.
Dave

Last edited Jul 17, 2011 at 8:40 PM by dperrow, version 5