HID commands are not processed when multiple applications with HID support are open (1 Viewer)

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    993
    368
    Munich
    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
    993
    368
    Munich
    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
    993
    368
    Munich
    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
    993
    368
    Munich
    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,114
    1,305
    Southampton
    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

    Top Bottom