New EventGhost EventClient for XBMC available - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: New EventGhost EventClient for XBMC available (/showthread.php?tid=38160)
- THX-UltraII - 2009-02-24 15:11
toiva Wrote:Load task create/switch events plugin, create a macro for each program you use and have those macros enable exclusive when one of the programs activates (task.activated.winamp for example).
I did some searching the last 2 hours and I m a little further on my way. I found a plugin called 'Task Create/Switch Events'. I ve added this plugin and now this plugin is in my list of my Autostart in the Configuration Tree.
But I would like to know what to do next now? You said that I will have to add macro's (in my case for Media Player Classic and XBMC) correct? But where do I place this macro's and what must the macro contain?
- toiva - 2009-02-24 17:18
First organize all existing macros into folders (place MPC macros in one folder and XBMC macros in another).
Then create 2 new macros, "enable MPC" and "enable XBMC", and add "enable exclusive" action to both macros and have those grant exclusive to a folder of macros.
So when task.activated.xbmc happens -> enable xbmc macro runs -> it actives only commands under xbmc folder.
Take a look at the wiki pictures, it's all explained there, although it's a bit hard to follow
- THX-UltraII - 2009-02-24 17:43
Ok, did some things and hope it will work (I can t test until tonight, I m @the office right now):
Creating separate folders for XBMC and Media Player Classic was not necessary anymore because EventGhost already did this aut. for me.
Next, I created a New Macro that I placed in the main Configuration Tree (so so under a specific folder eg. the XBMC folder), correct?
I called this Macro 'Enable XBMC'
After this I right-clicked on this Macro I made and I choose 'Add Action...'.
After this I selected the EventGhost action 'Exclusive enable a folder/macro' and I then selected my XBMC folder. Clicked on 'Apply' and 'Ok'.
After this I can see the Macro called 'Enable XBMC'. When I expand this macro I see the Action 'Enable exclusive: XBMC'
Am I correct that the last thing I need to do is drag&drop the log called 'Task.Activated.XBMC' to this macro I made so this is added as Event?
I hope I m on the right track. thxz for helping m8
- THX-UltraII - 2009-02-24 17:47
beter! Zie net dat je NL bent. Gast! Nu gaat het stukken makkelijker worden . Hoop dat bovenstaande een beetje klopt. Zie in m n andere topic dat je ook al weer een reply hebt gegeven. Ik denk niet dat ik daar uit ga komen jongen. Als dat niet lukt heb ik wel een idee maar daar moet jij wel tijd/zin in hebben. Ik heb namelijk Logmein op mijn computer geinstalleerd staan. Ik zou jou toegang kunnen geven tot mijn pc op die manier. Als je dat zou willen, graag! mzzl
- THX-UltraII - 2009-02-24 17:47
Sorry for speaking in Dutch guys, nothing personal.
- toiva - 2009-02-24 17:54
That seems about right, do the same for MPC and you should be good to go.
- byronl - 2009-02-25 14:19
Ok, to control MCE and presumably VMC and XBMC and other progams you need to re-enable HID in the MCE remote plugin. You then have control over MCE if it's running. I've set things up so only MCE or XBMC are running at any time.
The downside to this is that certain buttons such as Guide, My videos, Rec Tv, Live Tv etc all start media centre. This is annoying as I had assigned those keys to functions in XBMC. I need to undo this and use the keyboard plugin and use keyboard keys for these events. Fortunately I have the IR keyboard and learning remotes so F1, F2 etc or whatever can be captured and used to control XBMC or whatever.
To switch programs I capture the sleep button which disable all macros except ones to start MCE, XBMC etc and then use the coloured buttons on the remotes to kick off the correct macro. Since these buttons are not mapped like the special buttons above this works well. The XBMC and MCE macros needs to have an action that captures the sleep button press and disables the macro that it is in and re-enable the start MCE, XBMC macros.
I tried disable the HID service but the special buttons still work, a reboot is needed I guess (I wonder which process picking these button presses up, and can it be killed and restarted as desired?)
I hope this helps somebody struggling with this.
I also discovered post this work the following thread.
- byronl - 2009-02-26 02:10
it appears there is a process called ehtray.exe that can be suspended and unsuspended. This process is what picks up the MCE remote from a system perspective and fires up MCE.
Suspending this when running XBMC etc and the unsuspending when doing MCE might be the trick for those that don't want to do keyboard emulation.
I will test and post back.
- byronl - 2009-02-27 00:16
Tried suspending ehtray.exe and other related processes but whilst this stopped MCE starting up when you pressed GUIDE for instanced, control in powerDVD and XBMC became flakey and unusable. Using the direction keys would jump 2 files at a time etc.
The only way to MCE and XBMC that I can see is to use emulated keystrokes in MCE.
- toiva - 2009-02-27 08:22
Why not just simply disable ehtray.exe alltogether and handle everything with Eventghost? MCE should work fine with this service disabled.
Check the last post http://yabb.jriver.com/interact/index.php?topic=47795.0