MceRemoteReceiver plugin - MCE remote support in MP2 (1 Viewer)

hafblade

Portal Pro
January 19, 2011
675
290
Trier, Germany
Home Country
Germany Germany
So. My first testing is done. :)
I used the winter release for testing and added your plugin. As soon as my Mantis account is running again (Homey knows about it) I'll add my results there.

- Is there a possibility to setup the key to be pressed for the Tray-Client-Launcher? As harmony user I've not mapped my green button. Because I've never used it before. Long time ago I used the tray program of MP1 but since some time I've got only mapped Win+1 (MP is my first program in my task bar :p ) It would be cool to have something like "start when I press my menu button" or something like this
- In MP2 the buttons work without issues and really fast.
- Some buttons especially the color buttons are not mapped. So there is no possibility to switch between gui and running movie (here in the forum the mapped keys link does not work)
- When I move forward / backward with the arrow buttons "<<" and ">>" everything works great but when I use repeat "|<<" nothing happens. If it works with real mce remotes it could be some harmony issue, too.

Furthermore I noticed that some "navigation orders" should be changed in the titanium skin in MediaPortal 2. With "navigation order" I mean the order in which the buttons are selected when I navigate through the software. (it could be also in other skins, I'll check that) I'll add a new thread in the forum for this.
 

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Thanks for testing and the report (y).

    - Is there a possibility to setup the key to be pressed for the Tray-Client-Launcher? As harmony user I've not mapped my green button. Because I've never used it before. Long time ago I used the tray program of MP1 but since some time I've got only mapped Win+1 (MP is my first program in my task bar :p ) It would be cool to have something like "start when I press my menu button" or something like this
    The MP2-ClientLauncher waits for the Start-key being pressed. The MceRemoteReceiver.dll translates the MCE events into MP2 button key presses.
    The default mapping is defined in ProgramFiles\MP2-Client\Tools\MP2-ClientLauncher\DefaultRemoteMap.xml
    There you can see the S:confused:tart , which can be mapped to any other button being sent by the MceRemote as well.
    Modifying this mapping does not affect the remote mapping within the MP2 GUI.

    - Some buttons especially the color buttons are not mapped. So there is no possibility to switch between gui and running movie

    - When I move forward / backward with the arrow buttons "<<" and ">>" everything works great but when I use repeat "|<<" nothing happens. If it works with real mce remotes it could be some harmony issue, too.
    Within the remote mapping they are mapped, but within MP2 GUI/screens are not actions defined, yet to act on this events / button presses. So it is more an issue related to MP2 in general than the MceRemoteReceiver only.
    @offbyone is working new concepts for the MP2 input handling, which might address some of these issues.

    BTW: leaving the video is possible by ESC / Back button and for re-opening the video there is a menu item. It is also possible to map keys to actions like switching back to fullscreen, but unfortunately this stuff is not documented in wiki, yet.
    Nevertheless this might also be covered by the input handling concepts.

    (here in the forum the mapped keys link does not work)
    Which link do you mean? In general we try to document such things in wiki: http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/9_Reference/Keyboard_shortcuts
     
    Last edited:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    As soon as my Mantis account is running again (Homey knows about it) I'll add my results there.
    No need to duplicate the feedback. Let's keep the discussions and questions here in forums and use the mantis issues only for specific bugs, issues. Normally it also be reported in mantis if something is working as expected or a fix is confirmed, but this time we also can keep it here in forums, since the plugin is not available within MP2 repo. It's in my own fork currently.

    I am not sure, yet if we include it in the MP2 repo. The code itself might needs some cleanup. @morpheus_xx What do you think? Would it be okay to have it in incubator and included in the next release? Or are the major code cleanups / changes needed? (Keeping the input handling rework in mind there will be reworks again). I might not be able to cleanup / rework the code the next time, too much things here. So if this would be required then I would leave it as a separated plugin for now.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    I would like to have a MCE remote solution integrated in Alpha 2, as it provides a much better user experience.

    When I looked at the code last time, it required at least some cleanups ;) Before we bring the version into MP2 tree we should do this cleanup and work on the remaining mapping issues to get Alpha 2 soon.

    The navigation rework discussion should not affect work on this plugin (IMO).
     

    hafblade

    Portal Pro
    January 19, 2011
    675
    290
    Trier, Germany
    Home Country
    Germany Germany
    I think for some out of the box user experience such a functionality whould be included in some release. Wuch thinks have to be standard. Imho
     

    mats_o

    Portal Member
    September 18, 2011
    17
    3
    another wote for Built in MCE support in Alpha two.
    I also would like to request a return to "media" button so that you can get back to your movie/video/tv/whatever directly if you happend to be browsing a menu or so.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    I think I found an issue with MCE remote plugin:

    Without using it, my "back" key on remote was already working fine. When I place in the MCE remote plugin, the "back" action is executed twice, probably first by internal key, second by MCE remote plugin...
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Hmm, it's working fine here :confused:

    Which remote model do you use?
    Is Irss still installed / running?
    Did you enable the automatic buttons (revert this) before uninstalling Irss?

    Back itself is handled on OS level and not mapped again by this plugin:
    https://github.com/chefkoch/MediaPo...or/MceRemoteReceiver/DefaultRemoteMap.xml#L16

    I only took the code from MP1, is your remote working there? The Mce code in IRSS is more powerful because it catches the event on driver level and allows complete remapping rather than this (or the MP1 internal) Mce code which is using the HID events and not able to remap some buttons (all the disabled ones within the link above).
    IIRC the Irss Mce code requires being run on admin level, so this might be something worth for the InputService, whcih is planned or implemented as a MceHelperService only. The last option i.e. is also used by EventGhost when enabling the Mce remote support.
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    Oh yes, you were right, sorry :confused:

    The IRSS was still active and caused some double actions. So no problem with plugin :)
     

    sunflower

    Portal Pro
    February 28, 2007
    185
    7
    Cologne
    Home Country
    Germany Germany
    Country flag
    I'm using an MCE remote with the IRTrans (USB) receiver (works fine in MP1 and XMBC). Is there a way to make this one work in MP2?
     

    Users who are viewing this thread

    Similar threads

    And if you Record you can see the video on the used player? On my Server i also have no video, but the reason for this is, that my Server have no Monitor/TV connected. I only configure it via AnyDesk Remote Control. But a recorded channel have a video when i play it with VLC Player. If i connect a monitor via HDMI then i have a...
    And if you Record you can see the video on the used player? On my Server i also have no video, but the reason for this is, that my...
    I have used MP for years. Recently I used MP2 v 2.2.3 without any problem. After install MP v 2.3 I have no video on TV. I have...
    Replies
    6
    Views
    524
    MP1 MP2 MQTT Plugin DE
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    https://ci.appveyor.com/api/projects/status/yj74bbhstsucwojj/branch/master?svg=true MQTT Plugin for MediaPortal - Publish some...
    Replies
    17
    Views
    1K
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion Remote case. I have pretty much succeeded using IRSS, great! However there is something I would like to know if I could do in a better way. There are some buttons on my remote (e.g.Visualizations, Eject) that...
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion...
    So my project yesterday was to get my MCE remote working and perfectly mapped with the internal IR receiver of my Antec Fusion...
    Replies
    0
    Views
    1K
    Hi Lehmden Thanks for your suggestions. I will try some of them. Else i'll port one of the tuners to the Myth box and decommission the MP2 Server. Unfortunately more recent of the Fusion DVB the PCIe dual express 2 recognised by Windows does not work with Myth but the older single Fusion does so it can work with the other dual card...
    Hi Lehmden Thanks for your suggestions. I will try some of them. Else i'll port one of the tuners to the Myth box and...
    I reviewed instructions on how to install the Kodi TVServer plugin as follows: To install this TVServer plugin: Download the...
    Replies
    8
    Views
    5K
    I have merged the changes in the first post to 2.2.1, so they will be available in the next release. I have started a new thread about improving the busy screen appearance here.
    I have merged the changes in the first post to 2.2.1, so they will be available in the next release. I have started a new thread...
    @Digsy @HTPCSourcer @Developers @Testers Following @Digsy 's report here, I have reworked the way the busy screen works so that...
    Replies
    10
    Views
    3K
    Top Bottom