IMON & MCE at the same time - AbstractRemoteModel enabled or disabled (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,914
    5,563
    France - IDF
    Home Country
    France France
    @chefkoch
    this patch, is for Imon PAD remote ( + imon mini) in Abstract mode ! but is not closed ... (missing times ... :( ) my HTPC is always with Disaster edition, and i want change for work in Abstract Mode !!! the problem is the default MAP designed for MCE Abstract ... but MCE & Imon are really different ...
    I don't know if we can have 2 Map in 1 as Screenshot (modified ) abstract v1
    abstract v1.jpg
     

    Attachments

    • rework abstract V1.patch
      5.6 KB
    Last edited:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I don't know if we can have 2 Map in 1 as Screenshot (modified ) abstract v1
    The Abstract Remote's purpose is to prevent having different mappiing for different remote at the MediaPortal mapping level. You only map the Imon buttons to the abstract remote. So the MP mapping can be used by all Remotes without modifying it.

    What you are suggesting would open the door to do the same for other remotes as well, but then it is no abstract remote mapping anymore.
    If you would like to use the a different mapping at the same time like the abstract remote, you can
    a) remove the imon to abstract mapping in "IR Server\Abstract Remote Maps\iMon USB" or
    b) disable the abstract remote completely.

    i.e. the Imon PAD.xml looks currently like this:
    XML:
      <RemoteTable RawCode="1002" AbstractButton="Power" />
      <RemoteTable RawCode="1016" AbstractButton="Power2" />
      <RemoteTable RawCode="1064" AbstractButton="Record" />
      <RemoteTable RawCode="1128" AbstractButton="Play" />
      <RemoteTable RawCode="1114" AbstractButton="Eject" />
      <RemoteTable RawCode="1130" AbstractButton="Rewind" />
      <RemoteTable RawCode="1144" AbstractButton="Pause" />
      <RemoteTable RawCode="1192" AbstractButton="FastForward" />
      <RemoteTable RawCode="1066" AbstractButton="NextChapter" />
      <RemoteTable RawCode="1220" AbstractButton="Stop" />
      <RemoteTable RawCode="1208" AbstractButton="PreviousChapter" />
      <RemoteTable RawCode="1148" AbstractButton="OK" />
      <RemoteTable RawCode="1038" AbstractButton="VolumeUp" />
      <RemoteTable RawCode="1042" AbstractButton="VolumeDown" />
      <RemoteTable RawCode="1022" AbstractButton="ChannelUp" />
      <RemoteTable RawCode="1014" AbstractButton="ChannelDown" />
    Removing this abstract mapping will forward "imon : 1128" (remote : code) to the receivers(MPControlPlugin) instead of Play.
    With the same result like sending "Abstract-imon : 1128".
    The same can be achieved by disabling the abstract remote model.

    Having such a "specific" use case, where you need to differ between remote, the abstract remote model should be disabled. It's not the responsibility of the abstract remote model to differ between remotes.
     
    Last edited:

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,914
    5,563
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    Ok, normally if i disable "abstract mod" my Mpcontrolplugin.xml should work with your new 1.5 ?
    i test it this evening ;)
     
    Last edited:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Ok, normally if i disable "abstract mod" my Mpcontrolplugin.xml should work with your new 1.5 ?
    i test it this evening ;)
    I can not promise it, but it is the way it should be done, but I guess it won't work, as your mapping is not configured for those button codes, so you might need to remap these a lot.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,914
    5,563
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #5
    Yep, i don't have tested yesterday ( bad MP install for test atmolight on HTPC :mad: )

    i should try 2 things :
    - Abstract mode : OFF
    - Abstract mode : ON ( re-adapt my preset to Abstract Key, not easy !)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,914
    5,563
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #7
    @chefkoch
    Have you freetime, for see why Configuration.exe crash when click to "MAP" button ?

    the message from windows is the next :
    Description :
    Stopped working

    Signature du problème :
    Nom d’événement de problème: CLR20r3
    Signature du problème 01: configuration.exe
    Signature du problème 02: 1.2.300.0
    Signature du problème 03: 510ec865
    Signature du problème 04: IrssUtils
    Signature du problème 05: 1.5.0.83
    Signature du problème 06: 510dd2e6
    Signature du problème 07: 3
    Signature du problème 08: 0
    Signature du problème 09: System.NullReferenceException
    Version du système: 6.1.7601.2.1.0.256.1
    Identificateur de paramètres régionaux: 1036
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Sorry, for the lack feedback.

    I fixed one reason for this a few weeks ago, but found yet another case in which it could occur.
    Was not working much on IRSS the last weeks, because of other things (MP2, mkv tools, ...)

    Can't promise anything, when I am able to provide a new build.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,914
    5,563
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #9
    i go skiing next week ... ( you have the time ;) )
     

    Users who are viewing this thread

    Top Bottom