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.

Event 'Stop what's currently playing in XBMC', then Suspend

If you have a question or need help, this is the place to be.
Post Reply
Bad_Karma
Posts: 5
Joined: Mon Oct 29, 2012 7:48 pm

Event 'Stop what's currently playing in XBMC', then Suspend

Post by Bad_Karma »

I'm trying to create an event which first sends the IR remote 'Stop' command twice, then the Suspend/Sleep command.
(First 'Stop' is to stop the XBMC screensaver. Second 'Stop' is to stop what's currently playing in XBMC)

I'm running Win7 64bit SP1 with XBMC Eden. EventGhost version is 0.4.1.r.1582.
My MCE receiver is fully RC6 compatible.

'XBMC2' and 'Microsoft MCE Remote' plugins have been added, but I'm not sure how to create this event.

I'm a complete noob so I apologize for asking stupid questions.

I appreciate your help!
themaster1
Experienced User
Posts: 133
Joined: Wed Feb 03, 2010 9:02 pm

Re: Event 'Stop what's currently playing in XBMC', then Susp

Post by themaster1 »

The suspend/sleep function will be affected to a button on your remote permenently,choose wisely...

Create a macro, call it sleep:

event: put an event of your remote here
action: find window (XBMC.exe / name: XBMC / class: XBMC)
action: bring to front
action: XBMC2:Stop (copy & paste it here from the xbmc2' stop macro)
action: XBMC2:Stop (again are you sure ?)
action: stand by (put the comp in sleep state) (see in add actions > power management)


Not tested but that should work i believe, there are better ways to do this with the OSmenu so the button on your remote is not permanently used for that but as you're a beginner...
Bad_Karma
Posts: 5
Joined: Mon Oct 29, 2012 7:48 pm

Re: Event 'Stop what's currently playing in XBMC', then Susp

Post by Bad_Karma »

Thank you very much for your help!

I have a Logitech Harmony remote and I was thinking of assigning this event to an unused key (e.g. 'G').
If I make a mistake I can always assign a different key to the remote button.

I noticed EG is already intercepting IR key presses and I haven't configured anything yet.. :P
Post Reply