Trouble with play and pause actions in the same remote button (1 Viewer)

joie

Portal Member
June 10, 2009
42
0
Home Country
Spain Spain
Hi there guys;

I own the logitech UltraX remote. I can use mediaportal with it thru eventghost without main issues. I have only one problem. The remote has the play and pause actions in the same button (play/pause button).

My problem is that if I press the play/pause button while watching a movie, it pauses (great), but if I press it again, it pauses again instead of resume the movie.

How can I fix that?, How can I tell Mediaportal to understand the button as "play" when the movie is paused, and as "pause" when it is playing?.

Thank's in advance.
 

joie

Portal Member
June 10, 2009
42
0
Home Country
Spain Spain
But inside eventghost I can map remote buttons to actions, not letters of the keyboard..., or I don't know how to do that. Do you know how to do that?.

Thank's in advance for your patience :)
 

Deda

Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Yes you can, just add an action, select Window actions on the left listbox and choose Emulate Keystrokes.

    With that you can remap every remote button keypress event if you like.
     

    joie

    Portal Member
    June 10, 2009
    42
    0
    Home Country
    Spain Spain
    Yes I´m using message plugin in mediaportal, but without configuring anything since I don't know what to configure.

    I'm going with the eventghost solution and see what happens :)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    EventGhost sends window messages to MePo and MessagePlugin processes them. It's faster and more reliable method than sending keystrokes.

    You need to modify default bindings of MessagePlugin. If you already have separate play/pause actions, remove them. Then you should add one common play/pause action and assign a conditions.

    Player.Playing action code = pause
    otherwise action code = play

    In EventGhost you should bind Play/Pause button on the remote to the newly created action..

    Simple! :)
     

    joie

    Portal Member
    June 10, 2009
    42
    0
    Home Country
    Spain Spain
    Ok, I can now map the space key (wich is pause and play) to my play/pause remote button, but in mediaportal, when I press the button it receives play and pause actions at the same time, so the video is paused just a milisecond and then continue playing...
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    34
    Home Country
    Netherlands Netherlands
    Send your EventGhost config please.
     

    joie

    Portal Member
    June 10, 2009
    42
    0
    Home Country
    Spain Spain
    Now it works. instead of having two events, one for play and one for pause, now I have only one event that calls the space bar. It may not be an elegant solution, but it works.

    Thank's.
     

    Users who are viewing this thread

    Top Bottom