Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Catch Windows Media Center events in EventGhost?

Questions and comments specific to a particular plugin should go here.
Post Reply
randybruder
Posts: 2
Joined: Wed Jul 17, 2013 11:43 pm

Catch Windows Media Center events in EventGhost?

Post 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!
chef
Posts: 4
Joined: Sun Jul 14, 2013 2:04 pm

Re: Catch Windows Media Center events in EventGhost?

Post 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.
randybruder
Posts: 2
Joined: Wed Jul 17, 2013 11:43 pm

Re: Catch Windows Media Center events in EventGhost?

Post 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.
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: Catch Windows Media Center events in EventGhost?

Post 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.
Post Reply