[solved] Audio switching bug in Mediaportal 1.12 (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    For sure TsReader didn't like when no audio device happen (or wrongly detected that there is no audio device on MP).
    So this patch can help, thanks to mm :)
     

    kszabo

    MP Donator
  • Premium Supporter
  • December 6, 2007
    796
    86
    Germany, Bayern
    Home Country
    Hungary Hungary
    I have similar problems with Win10 and MP 1.14 (like video stops playing if restarted after pausing, sometimes starts but audio is lost, sometimes no problem). Is this patch already in 1.14? Is it compatible with 1.14 so I can and should simply apply fix v4?
     

    uxDesign

    Portal Pro
    December 10, 2011
    85
    54
    near Munich
    Home Country
    Germany Germany
    I had that problem too and applied the patch v4. The black screen or missing sound is fixed but volume control via remote control is no longer working. +- and mute doesn't work any more. I also hear no beep when I press one of these buttons. OSD is no longer showing up.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi uxDesign

    Thanks to your excellent log collecting process, I can see that MP knows the buttons are being pressed:
    [2016-06-10 22:46:39,999] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:40,611] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:41,527] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:42,185] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:42,778] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:43,393] [Log ] [31 ] [INFO ] - MCE: Incoming button command: VolumeDown
    [2016-06-10 22:46:44,876] [Log ] [31 ] [INFO ] - MCE: Incoming button command: Mute
    [2016-06-10 22:46:44,878] [Log ] [31 ] [INFO ] - MCE: Command "Mute" mapped
    [2016-06-10 22:46:45,799] [Log ] [31 ] [INFO ] - MCE: Incoming button command: Mute
    [2016-06-10 22:46:45,802] [Log ] [31 ] [INFO ] - MCE: Command "Mute" mapped
    [2016-06-10 22:46:49,001] [Log ] [31 ] [INFO ] - MCE: Incoming button command: Stop
    [2016-06-10 22:46:49,003] [Log ] [31 ] [INFO ] - MCE: Command "Stop" mapped

    Further, I can see that you're using a custom mapping:
    [2016-06-10 22:46:19,111] [Log ] [MPMain ] [INFO ] - MAP: using custom mappings for Microsoft MCE

    It looks like the VolumeDown button is not mapped to any action in your mapping. Maybe VolumeUp is the same.

    As for Mute: maybe it isn't mapped to MP's mute action?
     

    uxDesign

    Portal Pro
    December 10, 2011
    85
    54
    near Munich
    Home Country
    Germany Germany
    Hi mm1352000

    I know that I have a custom mapping. I've checked it before posting and it was the same as before. The volume keys are still mapped to the MP actions.
    Her are the relevant mappings of Microsoft MCE.xml

    <button name="Volume +" code="16">
    <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="103" sound="cursor.wav" />
    </button>
    <button name="Volume -" code="17">
    <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="102" sound="cursor.wav" />
    </button>
    <button name="Mute" code="14">
    <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="9982" sound="click.wav" />
    </button>

    Edit:
    I tried generic HID instead of MCE and mute works now. Volume +/- doesn't though. Strange thing...
     
    Last edited:

    Users who are viewing this thread

    Top Bottom