HID commands are not processed when multiple applications with HID support are open (2 Viewers)

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,173
    415
    Munich
    Home Country
    Germany Germany
    Country flag
    Dear experts, :)

    I use a remote control for common playback actions (play/pause, next track, previous track). It works fine but when another media player with HID support e. g. Windows Media Player or iTunes is open, MediaPortal does not process HID commands anymore. If I close them, MediaPortal continues to process HID commands.
    Is there a way to control which application handles HID commands or at least for MediaPortal to react on HID commands even if other applications with HID support are open?
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,173
    415
    Munich
    Home Country
    Germany Germany
    Country flag
    Yes, also when MP is focused in fullscreen mode and the other media players are minimized.
    I'll try MP 1.26 but there are no HID-related changes, right?
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,173
    415
    Munich
    Home Country
    Germany Germany
    Country flag
    Unfortunately it happens with MP 1.26 Test 6 as well.
    This is the content of my Generic-HID.xml file:
    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <HidHandler version="1">
        <HidUsageAction UsagePage="GenericDesktopControls" UsageCollection="Keyboard" HandleHidEventsWhileInBackground="true">
            <button code="MediaPreviousTrack" background="true" repeat="true">
                <action layer="0" condition="PLAYER" conproperty="MUSIC" command="ACTION" cmdproperty="15" />
            </button>
            <button code="MediaNextTrack" background="true" repeat="true">
                <action layer="0" condition="PLAYER" conproperty="MUSIC" command="ACTION" cmdproperty="14" />
            </button>
            <button code="MediaPlayPause" background="true" repeat="true">
                <action layer="0" condition="PLAYER" conproperty="MUSIC" command="ACTION" cmdproperty="12" />
                <action layer="0" condition="*" conproperty="" command="ACTION" cmdproperty="79" />
            </button>
        </HidUsageAction>
    </HidHandler>
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,173
    415
    Munich
    Home Country
    Germany Germany
    Country flag
    Thanks for your engagement!
    Even if I restart MediaPortal while iTunes or Windows Media Player is open, HID commands are not processed.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,358
    1,434
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    @CyberSimian ( i see you on greenbutton forum ) do you have tips for this ?
    I have a recollection that WMC suffers from the same problem -- certain other applications steal the keystroke or button-press, and WMC never sees it.

    The solution is to close those other applications that steal the keystroke/button press. These applications are (I think) the ones identified earlier, plus at least one web browser (but I do not remember which). I have never encountered this problem myself (I don't use the applications listed earlier), so cannot speak from personal experience.

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Similar threads

    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose compatibility with almost every new version. And new skins are too 'fancy' for my taste. I use a customized version of the default wide skin with only Videos and TV in the main menu. I use mediaportal for recording...
    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
    I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
    Replies
    0
    Views
    128
    You're right, @ajs, thank you! After enabling HID in the MP config and editing the XML file it works! (y)
    You're right, @ajs, thank you! After enabling HID in the MP config and editing the XML file it works! (y)
    Common media players like Windows Media Player and iTunes support events for playback buttons (play/pause, next track, previous...
    Replies
    2
    Views
    844
    Thanks CyberSimian, I appreciate the reply. I have the source code for both 1.12 and 1.21 so one day if I have some time I might try to compare the two and see what I can find. I do suspect that the changes could be quite extensive though. I'll update here if I figure anything out of course, and in the meantime I still have a...
    Thanks CyberSimian, I appreciate the reply. I have the source code for both 1.12 and 1.21 so one day if I have some time I might...
    Hi all. I've been running MP 1.12 for quite a while and have recently upgraded to 1.21. I now have a remote control issue which...
    Replies
    3
    Views
    727
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    2K
    • Sticky
    EPG Scroll Fix MP 1.25 includes two new actions that can be assigned to buttons on the remote control: TVGuide Next Timeblock TVGuide Prev Timeblock These actions scroll the EPG horizontally by an amount equal to the width of the EPG time window, namely 1, 2, 3, or 4 hours. Without these actions the EPG always scrolls by 3 hours...
    EPG Scroll Fix MP 1.25 includes two new actions that can be assigned to buttons on the remote control: TVGuide Next Timeblock...
    This post contains a support pack for use with the Ortek VRC-1100 and Hama 00052451 remote controls. The support pack allows these...
    Replies
    6
    Views
    3K
    Top Bottom