ATI Remote wonder and mediaportal (3 Viewers)

bitsnbytes

Portal Member
July 20, 2009
24
0
Home Country
United Kingdom United Kingdom
Just install the message plugin.dll and the xml file. There is one more file I recalled it was named *.hip to be used with some other "human interface programming" utility. That file you can disregard.

I've done exactly this, I've copied over the MessagePlugin.dll to the MediaPortal\Plugins\Process folder and MessagePlugin.xml to the MediaPortal\InputDeviceMappings\Defaults folder as mentioned in the ReadMe.txt file. I've ignored the MessagePlugin.hip file

Inside MP configuration make sure you have not choosen any remote at all.
I've done this, so I've made sure all remote boxes are unchecked i.e. no remotes are enabled

As of the message plugin, which you allready have seen as an enabled plugin, there is also nothing to config. Just leave it.

Now go and fiddle with GhostEvent. Thats all :)

This is the part that confuses me :confused: I always thought that you can configure EventGhost to respond to say button 1 on the remote and send out keystroke 'A' in return and then you configure the messagePlugin to respond to keystroke 'A' and then do one of it's actions, Play for example. If this is the case, then I can't see any of this mapping in the MessagePlugin :confused:

Perhaps I'm completely mistaken or just being extremely daft, but I'm just not sure how it works :sorry:

I had it all working this night. I'm not finished but a great part is done. So I'm a zoombie at work today. I'm lucky enough to be locked to a "constant room" calibrating temperatrure transmitters all day, so no one will see my red eyes :D

That's really good to hear :) I get what you mean, this has happened to me many a time, red eyes at work due to lack of sleep :rolleyes:
Is it possible for you to sent me your saved eventghost configuration (.xml) file?
 

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    This is the part that confuses me :confused: I always thought that you can configure EventGhost to respond to say button 1 on the remote and send out keystroke 'A' in return and then you configure the messagePlugin to respond to keystroke 'A' and then do one of it's actions, Play for example. If this is the case, then I can't see any of this mapping in the MessagePlugin :confused:

    Perhaps I'm completely mistaken or just being extremely daft, but I'm just not sure how it works :sorry:

    There's two ways to control MP from EventGhost (EG):

    1. Enable the Message plugin in MP, and the MP plugin in EG. Use the 'actions' from the EG MP plugin in your EG macros - these send windows API 'messages' to MP which the messagePlugin in MP reacts to. There is no keystroke emulation involved in this method, and MP will respond to these messages even if it is not the foreground application (AFAIK).

    2. Use keystroke emulation 'actions' in your EG macros - these behave exactly as if you pressed the keys on the keyboard - MP will respond to these only if it is the foreground app, and this method does not need the messagePlugin in MP (or the MP plugin in EG) to be enabled.


    The problem with EG for new users is that:

    a. There's almost no documentation

    b. It looks much more complicated to setup than it actually is, but you don't know this until you've had (as Radioman described) a 'Eureka !' moment and realised that pretty much everything is setup by using drag-n-drop/copy/paste.

    Tony
     

    bitsnbytes

    Portal Member
    July 20, 2009
    24
    0
    Home Country
    United Kingdom United Kingdom
    This is the part that confuses me :confused: I always thought that you can configure EventGhost to respond to say button 1 on the remote and send out keystroke 'A' in return and then you configure the messagePlugin to respond to keystroke 'A' and then do one of it's actions, Play for example. If this is the case, then I can't see any of this mapping in the MessagePlugin :confused:

    Perhaps I'm completely mistaken or just being extremely daft, but I'm just not sure how it works :sorry:

    There's two ways to control MP from EventGhost (EG):

    1. Enable the Message plugin in MP, and the MP plugin in EG. Use the 'actions' from the EG MP plugin in your EG macros - these send windows API 'messages' to MP which the messagePlugin in MP reacts to. There is no keystroke emulation involved in this method, and MP will respond to these messages even if it is not the foreground application (AFAIK).

    2. Use keystroke emulation 'actions' in your EG macros - these behave exactly as if you pressed the keys on the keyboard - MP will respond to these only if it is the foreground app, and this method does not need the messagePlugin in MP (or the MP plugin in EG) to be enabled.

    Tony

    Ahhh, that makes it a bit clearer now. Never knew that there was a MP plugin that could be used in EG :) So which is the recommended method? It seems from Radioman's post that he is using the MP plugin in Event ghost, given that he does no config and also uses the messagePlugin in MP

    The only advantage I see in using keyboard emulation is that I then have 2 ways of controlling MP (via remote and keyboard), not sure if it always safe to assume that MP will be the foreground app. I'll try tinkering with this tonight and see if I can get anywhere
    :D
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Method 1 is better (plugins both ends) - I've had DVD menu navigation problems using keystroke emulation, and I think MP is slightly more responsive with this method.

    Using the messagePlugin in MP doesn't disable keyboard control - you can use both at the same time.

    Tony
     

    Radioman

    MP Donator
  • Premium Supporter
  • June 17, 2009
    47
    6
    Stora Höga
    Home Country
    Sweden Sweden
    the 'task create/switch events' plugin generates events when apps/windows are started/closed/change state, so you just use one of those as trigger. I just have button on the remote which cycles through my three choices of 'exclusive' folders, using the OSD facility to indicate which one is enabled.

    I have f.t.m. two exclusive folders, one for MP and one for PDVD. One of them get exclusive when the other program closes, which they f.t.m. do with keystroke events triggered from the remotes Power button.
    As Im sitting hear at work, not able to get GhostEvent out of my mind :oops:, i guess I have problem if both applications are running at the same time?

    My Q is:
    Do you also stop/start your different apps trough the toggling between them, or do you have them all running and just shift which one of them the remote runs exclusively? The OSD action is in the latter case great to have.

    I want to do this as logical and easy as possible so that my wife and kids also will be happy :) I can see a scenario where the remote doesn't work because the wrong application has control over it.
    Maybe the window actions "bring to front" or "find a window" could be used so that the right application allways has focus when you toggle them.

    It would be nice sneaking at your xml setup Tony :p

    @bitsnbytes
    I will send you my xml this evening if you still want to look at it. In the meantime look at the setup allready inside Eventghost after install. I have done as the examples with zoomplayer and winamp.

    I'll try tinkering with this tonight and see if I can get anywhere
    :D
    Tell your near and dear tomorrow that you got your red gloomy eyes because of Owlsroost and Radioman at the MediaPortal forum :D
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    the 'task create/switch events' plugin generates events when apps/windows are started/closed/change state, so you just use one of those as trigger. I just have button on the remote which cycles through my three choices of 'exclusive' folders, using the OSD facility to indicate which one is enabled.

    I have f.t.m. two exclusive folders, one for MP and one for PDVD. One of them get exclusive when the other program closes, which they f.t.m. do with keystroke events triggered from the remotes Power button.
    As Im sitting hear at work, not able to get GhostEvent out of my mind :oops:, i guess I have problem if both applications are running at the same time?

    My Q is:
    Do you also stop/start your different apps trough the toggling between them, or do you have them all running and just shift which one of them the remote runs exclusively? The OSD action is in the latter case great to have.

    I want to do this as logical and easy as possible so that my wife and kids also will be happy :) I can see a scenario where the remote doesn't work because the wrong application has control over it.
    Maybe the window actions "bring to front" or "find a window" could be used so that the right application allways has focus when you toggle them.

    It would be nice sneaking at your xml setup Tony :p

    XML attached - this caters for two remotes - IR via USB-UIRT receiver & blaster, and a PS3 Bluetooth remote (which I normally use). There are 5 'exclusive' folders, 2 for IR remote and 3 for PS3 remote.

    Normally I launch/bring-to-front MP by pressing the 'L1' key on the PS3 remote - this also switches EG to 'PS3 MP_DVD' exclusive mode, but I also use the PS3 'select' key to cycle round the three PS3 'exclusive' modes if I want to do it manually.

    Tony
     

    Attachments

    • EG_HTPC_6.zip
      4.9 KB

    bitsnbytes

    Portal Member
    July 20, 2009
    24
    0
    Home Country
    United Kingdom United Kingdom
    i guess I have problem if both applications are running at the same time?

    My Q is:
    Do you also stop/start your different apps trough the toggling between them, or do you have them all running and just shift which one of them the remote runs exclusively?

    I think owlsroost might be better placed to answer this, however, I think from what he said last time is he assigns one special button on the remote to toggle through the folders and then use the OSD as well

    @bitsnbytes
    I will send you my xml this evening if you still want to look at it. In the meantime look at the setup allready inside Eventghost after install. I have done as the examples with zoomplayer and winamp.
    Thanks for that :) Will be a good starting point for me


    Tell your near and dear tomorrow that you got your red gloomy eyes because of Owlsroost and Radioman at the MediaPortal forum :D

    Hmmm, good idea :) That way they can take it up with you guys :D
     

    bitsnbytes

    Portal Member
    July 20, 2009
    24
    0
    Home Country
    United Kingdom United Kingdom
    My rather barebone xml for the EventGhost. :)

    Thanks for that Radioman, I had a quick look at it. Why is Mediaportal disabled? Is it because it is not complete yet?
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Why is Mediaportal disabled? Is it because it is not complete yet?

    It's the 'exclusive' folders at work - note that the MediaPortal folder is a sub-folder of the Context folder - only one of the sub-folders is enabled, all the others are disabled.

    e.g. If you expand the 'Switch to mode: Power DVD' macro and right-click on the 'Enable exclusive: CyberLink PowerDVD' action and run 'Execute item' you should see the 'CyberLink PowerDVD' folder change to enabled (no cross), and the previously enabled folder will now be disabled (crossed).

    Tony
     

    Users who are viewing this thread

    Top Bottom