[Remote] Improvement of Remote support for plugins (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    Started on: 2013-10-27
    last update: -

    Summary:
    Controling Plugin with own shortcuts, Blue/Green/Red/Yellow for Remote are not used anymore !

    Area:
    Aera Remote / Shortcut

    MP 2 related thread : https://forum.team-mediaportal.com/threads/improvement-of-remote-support-for-plugins-mp2.125354/

    Description:

    This proposal is a new Feature / Rework for add ability to have plugin mapping setting inside "Mapping" window.
    All plugins : controls & Window : can be mapped to the remote and no need anymore to use Teletext button, already used for special shortcut ( MyVidéo / MyMusic / ... ) and can be already mapped to many plugins.
    As Atmolight / Auto3D / ....
    Also this can easily set defaut software with button.

    Ex : Plugin must set public class for Action or GUI Screen, and are available in Remote mapping.
    - [PluginName].[Actions]
    - [PluginName].[GuiWindow]

    =RemoteMapping.png


    one Jira entry already exist about MovingPicture replacement :
    https://issues.team-mediaportal.com/browse/MP1-1925?jql="External issue ID" ~ "3384"
     
    Last edited:

    Tuomaa

    Portal Pro
    September 21, 2007
    129
    148
    Home Country
    Finland Finland
    +1 for this. This would be extremely useful for plugins like CECRemote. It is used mainly as a remote control for MediaPortal but there has been requests from users to use it the other way round and control HDMI-devices with a existing MediaPortal remote (like MCE).

    Currently mapping remote buttons to plugin actions is difficult and especially with process plugins (like CECRemote) I haven't found a feasible method to achieve this. If plugins could somehow "register" actions for the general mapping form, it would be very user friendly to control plugins with MePo -remotes. If this is difficult to achieve (I guess plugins would have to be loaded first when launching settings), even simply allowing users to map GUI-messages to buttons would be a step forward. Plugins could then execute certain actions for specific GUI-message parameters.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    Yes, tuomaa, the management of remote with all plugins is very hard now.
    maybe at mp start, none plugins exist or very small quantity and not use action directly.
    For now, it's missing a lot of actions,
    specially in Fulscreen, Teletext color can be used for 4 actions only !!! and this color are already mapped to shortcut like Imon remote, where color = MyVidéo / Mymusic / TV / DVD shortcut.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Right now plugins can use SharpLibHid to handle remote inputs. Auto3D plugin does that already.

    Action registration would be ideal to hook in the mapping system.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,717
    1,178
    Alingsås
    Home Country
    Sweden Sweden
    Right now plugins can use SharpLibHid to handle remote inputs. Auto3D plugin does that already.

    Action registration would be ideal to hook in the mapping system.

    Are you saying that it's just a matter of users installing something, or are you referring to the USB HID section of the remote setup? Sorry, I'm not fluent in tech talk. ;)
    Emph
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Are you saying that it's just a matter of users installing something, or are you referring to the USB HID section of the remote setup? Sorry, I'm not fluent in tech talk. ;)
    Emph

    I'm saying it's fairly straight forward for plugin developers to get remote input using the same library that MP1 uses which is called SharpLibHid.
    Users don't have to install anything other than the plugin itself.
    However that does not give you access to the button/action mapping from MP.
    It also works "only" with HID hardware which is the vaste majority of remotes anyway.
     

    Users who are viewing this thread

    Top Bottom