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

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    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,233
    461
    Munich
    Home Country
    Germany Germany
    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,233
    461
    Munich
    Home Country
    Germany Germany
    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,233
    461
    Munich
    Home Country
    Germany Germany
    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,849
    1,770
    Southampton
    Home Country
    United Kingdom United Kingdom
    @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

    Top Bottom