Page 1 of 1
Catch Windows Media Center events in EventGhost?
Posted: Thu Jul 18, 2013 1:17 am
by randybruder
Does anyone know if it's possible to catch Windows Media Center events in EventGhost?
I have an
Apple IR Remote controlling Windows Media Center, and through EventGhost I have the left and right arrows programmed to "MCE: Left" and "MCE: Right." But what I would like, is when Windows Media Center is playing a video/recorded tv show full screen, the left and right arrows become skip forward and skip back. When I press Menu (connected to MCE: Escape) and leave a video, the remote keys would go back to MCE: Left and MCE: Right.
Basically, a event for "playing a video full screen" and "a video is not playing full screen."
Thanks!
Re: Catch Windows Media Center events in EventGhost?
Posted: Thu Jul 18, 2013 2:12 pm
by chef
This is interesting, I was just looking for the exact thing my self. I need eventghost to know when video playback has initiated for my kinect application. I am not sure if I should write a plugin from the media browser three side of things or from eventghost. This is mostly going to affect home automation not remote controls, but it seems similar in a sense.
Re: Catch Windows Media Center events in EventGhost?
Posted: Thu Jul 18, 2013 2:25 pm
by randybruder
Yeah, whatever you'd end up connecting it to, it wouldn't affect the event reporting to EventGhost.
I also realize the event reporting would have to "when a video enters full screen" and "when you leave full screen" rather than "video is playing" and "video is stopped." This is because Windows Media Center allows a video to continue playing as a thumbnail in the corner while you navigate the menus. If I'm doing this, obviously left and right need to be left and right, not skipping around a video.
Re: Catch Windows Media Center events in EventGhost?
Posted: Fri Jul 19, 2013 5:42 am
by piert
If the fullscreen/not fullscreen switch is received in the Eventghost logs you can use it, otherwise that approach will not work.
In that case you should use the button-click from you remote to toggle between two folders in which the buttons of your remote are programmed to do different things. This may require you to use dedicated buttons/commands for "start playing video" and "escape fullscreen" (since the general play command and escape command are also used for starting e.g. playing music and escaping from something else). If that is a problem, there might be options to use the same buttons under different conditions, e.g. quick double click or long press, but I am not familiar with that.