Config problem

If you have a question or need help, this is the place to be.

Config problem

Postby itauditor » Tue May 31, 2011 10:17 am

I have a config file
Image

I use Wiindows Media Center (Win 7 32). I have a Harmony remote programmed for MCE commands.
I want to program forwaard, reverse, play and pause into my config file.
When I press the "play" button on my keyboard no event shows up in the log. The same key is for "pause".
The commands are executed, but are not logged.

Any ideas on why? Can I type the command? What is needed to activate the command?

How do I program forward and reverse?
thanks Randy
itauditor
 
Posts: 6
Joined: Tue May 31, 2011 9:51 am

Re: Config problem

Postby zian » Tue May 31, 2011 1:53 pm

"When I press the "play" button on my keyboard no event shows up in the log. The same key is for "pause". "

I believe the EG log will only show actions from your remote... not the keyboard.
(there may be a way to make it show though... I'm not sure.)
eventghost.net
Be there or be square.
zian
Site Admin
 
Posts: 285
Joined: Wed Jun 24, 2009 3:54 pm

Re: Config problem

Postby Livin » Wed Jun 01, 2011 4:03 am

If you use the MCE plugin you will not need to program keyboard cmds. Just program the harmony as an mce remote.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 753
Joined: Wed Oct 08, 2008 4:56 am

Re: Config problem

Postby topix » Thu Jun 02, 2011 7:16 am

itauditor wrote:The commands are executed, but are not logged.

Any ideas on why? Can I type the command? What is needed to activate the command?

You probably need to add generic HID-plugin and select your Keyboard. There may be multiple entries for your keyboard, so you have to try which one is for the media keys.
topix
Experienced User
 
Posts: 197
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: Config problem

Postby itauditor » Sat Jun 25, 2011 12:28 am

Follow-up to this issue
Ok I think I have found the correct HID keyboard to use. The log shows an event when I push the "Play/Pause" key on the keyboard. The first four lines appear in this jpg when I press the play/pause key. The second two lines appears when I press the 'play/pause' button on my remote.

I think I have created an event to correlate the two as shown in the right side of the jpg. However, something must be wrong with this command as when I press the play/pause button on the remote, nothing happens to Media Center to stop the video.

What am I doing wrong???

Thanks in advance
Image
itauditor
 
Posts: 6
Joined: Tue May 31, 2011 9:51 am

Re: Config problem

Postby Pako » Sat Jun 25, 2011 5:24 am

Yes, this behavior is expected.
You're probably not reading the description, which is part of the plugin Keyboard:

Notice: If such a keyboard event is assigned to a macro, the plugin will block the key, so Windows or another application will not see it anymore. This is needed to permit remapping of keys as otherwise the old key would reach the target in conjunction of another action you might want to do and this is mostly not what you intend.
But this blocking only happens, if a macro would actually execute in succession of the event. So if the macro or any of its parents is disabled, the keypress will pass through.

But it probably is not relevant. You probably do not need the Keyboard plugin.

The point is this:
In your macro is no action.
You have to insert there the action that will do the work required.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1283
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Config problem

Postby itauditor » Fri Jul 01, 2011 8:52 am

What action do I add to emluate the "play/pause' button on my keyboard??? It does not exist as an action...
Image
itauditor
 
Posts: 6
Joined: Tue May 31, 2011 9:51 am

Re: Config problem

Postby Pako » Fri Jul 01, 2011 2:53 pm

Yes, you can use the action Emulate Keystrokes: {Ctrl + P}, but before you had to use the Find Window action.
But why complicate life when there's a plugin MCE:
MCE_PlayPause.gif
MCE_PlayPause.gif (2.6 KiB) Viewed 870 times
Pako
User avatar
Pako
Plugin Developer
 
Posts: 1283
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Config problem

Postby itauditor » Sat Jul 02, 2011 1:50 pm

I realized that I didn't have the latest version of EG. So I installed it and now I find the MCE plugin.

I tried it and it using the remote but it doesn't work to control the PLAY PAUSE functions.
Funny that other functions do work using the keyboard emulation plugin.
what to do?

Image
itauditor
 
Posts: 6
Joined: Tue May 31, 2011 9:51 am

Re: Config problem

Postby Pako » Sat Jul 02, 2011 3:12 pm

I do not know what does not work.
I do not like WMC (or any other MC). To be able to help you, I had to overcome and I try it.
I tried the action MCE: PlayPause (as requested). It worked properly.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1283
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic


Return to General Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests