Welcome to The Digital Lifestyle and Media Center Show Sign in | Join | Help
in Search
mControl for Windows Media Center

Ian Dixon's Blog

Ian's digital lifestyle and Windows Media Center Blog

Vista Media Center TCP/IP Controller

Jonathon Bradshaw is looking for developers to help with a new Media Center project focusing on implementing TCP/IP control within Media Center, so Media Center could be controlled via standard TCP calls which would open up lots of potential application, Twitter remote control anybody :)

The project is on codeplex where you can contribute to the project:

Project Description
Provides a way to control Windows Vista Media Center (and extenders) through a standard TCP/IP socket port.
I am looking for developers who wish to continue the work on this code, please contact me if you are experienced using the Media Center SDK and would like to contribute.
The solution consists of two major components:

  • The first is an add-in for Vista Media Center that provides an IP control on TCP port 40400 (by default). You can use TELNET or any other socket client to connect and control (type HELP for a list of commands). For extenders, the port number is incremented so for the first extender the control port is 40401 etc.
  • The second component is an event sink for Vista Media Center. It provides a stream of event information over a TCP port for consumption by a client. You can TELNET or use any socket client to connect to port 40500. For extenders, the port number is incremented so for the first extender the stream is on port 40501 etc

 

Vista Media Center TCP/IP Controller - Home

Published 26 April 2008 18:50 by Ian Dixon

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Kenneth Auchenberg said:

Isn't there all ready a piece of software that does this?

I'm talking about MCEController http://www.kindel.com/products/mcecontroller/

April 26, 2008 22:00
 

Jonathan Bradshaw said:

Yeh, doesn't really compare. I'm talking full bi-directional control here not "send a keystoke". It even provides access to the EPG information so the client knows not only what channel you are watching but also show title, channel name etc.

For example, here are the commands implemented so far:

# dvdrom <open|close> - Opens and closes the default dvd drive door

# msgbox "caption" "message" <timeout seconds>

# goto <ExtensibilityUrl|FMRadio|InternetRadio|LiveTV|ManageDisks|MovieLibrary|MorePrograms|MusicAlbums|MusicArtists|MusicSongs|MyMusic|MyPictures|MyTV|MyVideos|PhotoDetails|RecordedTV|RecorderStorageSettings|ScheduledTVRecordings|Slideshow|SlideshowSettings|Start|TVGuide|Visualizations|WebAddIn> <optional page parameters>

# playrate <Stop|Pause|Play|FF1|FF2|FF3|Rewind1|Rewind2|Rewind3|SlowMotion1|SlowMotion2|SlowMotion3|SkipForward|SkipBack>

# position <seconds>

# fullscreen - moves the current media playback experience into full-screen mode

# version - returns the version of MediaCenter

# capabilities - returns a key value pair list of device capabilities

# volume <0-50|Up|Down|Mute|UnMute>

# play-audio <Audio parameters>

# play-video <Video parameters>

# play-dvd <Dvd parameters>

# play-radio <Radio parameters>

# play-tv <TV parameters>

# play-dvr <Dvr parameters>

# queueaudio <Audio parameters>

# schedule <recording|recorded|scheduled>

# epg-lineup <all|channel,channel...>

# epg-onnow <all|channel,channel...>

# epg-details <all|channel,channel...>

# window-close - sends command to Media Center Window

# window-minimize - sends command to Media Center Window

# window-maximize - sends command to Media Center Window

# window-restore - sends command to Media Center Window

# changer-load <Slot Address>

April 26, 2008 23:54
 

Ian Dixon said:

Jonathan I think its very cool

April 27, 2008 08:57
 

Martin Vilches said:

Very cool. Do you have to enter any special character to send the command? I opened a telnet session and I do receive every single action that takes place in VMC, but I can't send any of the commands (I mean, I send them but nothing happens)...

Great work!

Martin

April 27, 2008 15:53
 

Jonathan said:

There are two different ports, one for receiving all the events (you saw that one) and the other for interactive commands. One is on 40400 and the other is on 40500 so telnet to both and you'll have two way control.

Discussions can be posted at http://www.codeplex.com/VmcController/Thread/List.aspx thanks!

April 27, 2008 17:28
 

Ian's Digital Lifestyle said:

Here is this weeks news roundup. Most exciting is the massive giveaway coming soon: Win 1 of 31 HP HDX...

May 1, 2008 16:59
 

movvadinesh said:

This protocol will provide more security according to my networking knowledge

I don't know about the other options, I just read the basics about it

Transfer Control Protocol/Internet Protocol which transmits data in the form of packets or frames, I don't remember well.

May 11, 2008 12:33
 

smart home said:

hopefully this isnt controlling MC within the house, that would be pointless, thats what logitech diNovo min keyboard, logitech 1000, and a remote control handle. I hope this is to be able to connect to my MC from the internet at somone elses house or my mobile device when im out of town, so i can set show recordings, and control home devices, and listen to my music library at home on my mobile device or friends computer.

July 30, 2008 02:47

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit
Using Windows Media Center by Ian Dixon

This Blog

Syndication

News

Follow me, Follow you - I am on Twitter http://twitter.com/isdixon
Powered by Community Server (Personal Edition), by Telligent Systems