[Remote] - Improvement of Remote support for plugins

Discussion in 'Improvement Suggestions' started by azzuro, October 27, 2013.

  1. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,274
    Likes Received:
    2,351
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,983 / 13
    Home Country:
    France France
    Show System Specs
    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: April 1, 2014
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Tuomaa

    Tuomaa Portal Pro

    Joined:
    September 21, 2007
    Messages:
    129
    Likes Received:
    74
    Gender:
    Male
    Ratings:
    +89 / 0
    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.
     
    • Like Like x 1
  4. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,274
    Likes Received:
    2,351
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,983 / 13
    Home Country:
    France France
    Show System Specs
    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.
     
  5. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,274
    Likes Received:
    2,351
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,983 / 13
    Home Country:
    France France
    Show System Specs
  6. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,274
    Likes Received:
    2,351
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,983 / 13
    Home Country:
    France France
    Show System Specs
  7. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
  8. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,579
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,082 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    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
     
  9. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!