Audio Renderer Changer (3 Viewers)

agamenon

Portal Pro
March 17, 2009
70
3
I do not get it to work.

Mediaportal 1.2.1
skin streamps
0.8.2 Arc
This is my xml

<?xml version="1.0" encoding="utf-8"?>
<profile>
<section name="General">
<entry name="Code">k</entry>
<entry name="Shift">no</entry>
<entry name="Ctrl">no</entry>
<entry name="Action">
</entry>
<entry name="Count">3</entry>
<entry name="BassCount">0</entry>
<entry name="BassCode">j</entry>
<entry name="BassShift">no</entry>
<entry name="BassCtrl">no</entry>
<entry name="BassAction">
</entry>
<entry name="ShowOSD">yes</entry>
<entry name="OSDTimeout">3000</entry>
</section>
<section name="Renderer 1">
<entry name="Renderer">DirectSound: Audio digital (S/PDIF) (Dispositivo de High Definition Audio)</entry>
<entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\SPIDF.reg</entry>
<entry name="preferAC3">no</entry>
</section>
<section name="Renderer 2">
<entry name="Renderer">Default DirectSound Device</entry>
<entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\ESTEREO.reg</entry>
<entry name="preferAC3">no</entry>
</section>
<section name="Renderer 3">
<entry name="Renderer">DirectSound: AMD HDMI Output (AMD High Definition Audio Device)</entry>
<entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\ESTEREO.reg</entry>
<entry name="preferAC3">no</entry>
</section>
<section name="Renderer 4">
<entry name="Renderer">Audio digital (S/PDIF) (Disposi</entry>
<entry name="Regkey">
</entry>
<entry name="preferAC3">no</entry>
</section>
<section name="RendererChange">
<entry name="DVD">no</entry>
<entry name="TV">yes</entry>
<entry name="Videos">yes</entry>
</section>
<section name="StoreConfig">
<entry name="DVD">yes</entry>
<entry name="TV">yes</entry>
<entry name="Videos">yes</entry>
<entry name="Bass">yes</entry>
</section>
<section name="Gereral">
<entry name="Action">ACTION_NEXT_BOOKMARK</entry>
</section>
</profile>
 

Thor2605

MP Donator
  • Premium Supporter
  • April 2, 2009
    1,640
    184
    Home Country
    Germany Germany
    AW: Re: Audio Renderer Changer

    Works like a charm! Thank you for the very fast update :)

    Changing audio output with a keyboard shortcut works fine. Now I have to find out how to do this with my Logitech One remote. This remote has been set up as an generic MCE remote. I think I need some extra software to convert a "normal" button (f.e. the blue button) to the shortcut I have configured, [Ctrl] + [K]. Or is there an other way to do this?

    You can do it by MediaPortal-Actions. So you have to configure your MCE-Remote-Button you wish to the action, which you chosen in ARC-config...


    @agamemnon:
    Perhaps I could help you when you give me a short description of your problem...
    Is there any exception, or what?
     

    chielmi

    Portal Member
    September 30, 2009
    14
    0
    Home Country
    Netherlands Netherlands
    Re: AW: Re: Audio Renderer Changer

    Works like a charm! Thank you for the very fast update :)

    Changing audio output with a keyboard shortcut works fine. Now I have to find out how to do this with my Logitech One remote. This remote has been set up as an generic MCE remote. I think I need some extra software to convert a "normal" button (f.e. the blue button) to the shortcut I have configured, [Ctrl] + [K]. Or is there an other way to do this?

    You can do it by MediaPortal-Actions. So you have to configure your MCE-Remote-Button you wish to the action, which you chosen in ARC-config...
    I guess mapping a MCE remote button to a MP-action is as easy possible, but I really can't figure it out :rolleyes:. I can't find a good tutorial on how to add these custom actions...

    I want to map MP-action ACTION_NEXT_BOOKMARK to the blue button of my MCE remote. I think I need to add this action under the extended buttons --> My TV. Here I can add a new action (Next bookmark), but I don't know how to map this action to the blue button of my MCE.

    Thanks for your patience :D
     

    Thor2605

    MP Donator
  • Premium Supporter
  • April 2, 2009
    1,640
    184
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    I've attached a screenshot for you.

    There you choose your button and then you condition and switch to action and choose "Next Bookmark" with the combo box.
     

    Attachments

    • 2011-10-06_192159.png
      2011-10-06_192159.png
      39 KB

    chielmi

    Portal Member
    September 30, 2009
    14
    0
    Home Country
    Netherlands Netherlands
    I couldn't find the config of the colored buttons, because I wasn't looking in the Teletext buttons group :oops:.

    Now I found the config for the blue and yellow buttons so I could set them up the way you described. For the Bass-player I configured the ACTION_PREV_BOOKMARK in the ARC set-up, and also the [Ctrl] + . The MCE config looks like this:
    MCE_mapping.png


    Now when I use the yellow button I can hear the click.wav sound, but no output is changed. Also no OSD is shown. When I use [Ctrl] + the audio output is changed, but also with the keyboard shortcut no OSD is shown.
    Also when playing a video (so not using the Bass player) I can change output with the keyboard shortcut, but the mapped MCE button doesn't work.

    I see one other strange thing --> When I change the MP-action so some random other action, save with [OK], leave the MP config with [OK] and I re-open the MP config and the ARC config the MP-action shows the default value again. My xml now shows as follows:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <profile>
      <section name="General">
        <entry name="Code">k</entry>
        <entry name="Shift">no</entry>
        <entry name="Ctrl">yes</entry>
        <entry name="Action">
        </entry>
        <entry name="Count">2</entry>
        <entry name="BassCount">2</entry>
        <entry name="BassCode">j</entry>
        <entry name="BassShift">no</entry>
        <entry name="BassCtrl">yes</entry>
        <entry name="BassAction">
        </entry>
        <entry name="ShowOSD">yes</entry>
        <entry name="OSDTimeout">3000</entry>
      </section>
      <section name="Renderer 1">
        <entry name="Renderer">HDMI-apparaat (Intel(R) High De</entry>
        <entry name="Regkey">
        </entry>
        <entry name="preferAC3">no</entry>
      </section>
      <section name="Renderer 2">
        <entry name="Renderer">Digital Audio (S/PDIF) (2- High</entry>
        <entry name="Regkey">
        </entry>
        <entry name="preferAC3">no</entry>
      </section>
      <section name="RendererChange">
        <entry name="DVD">yes</entry>
        <entry name="TV">yes</entry>
        <entry name="Videos">yes</entry>
      </section>
      <section name="StoreConfig">
        <entry name="DVD">yes</entry>
        <entry name="TV">yes</entry>
        <entry name="Videos">yes</entry>
        <entry name="Bass">yes</entry>
      </section>
      <section name="Gereral">
        <entry name="Action">ACTION_NEXT_BOOKMARK</entry>
      </section>
      <section name="BassRenderer 1">
        <entry name="BassRenderer">HDMI-apparaat (Intel(R) High Definition Audio HDMI)</entry>
        <entry name="BassRegkey">
        </entry>
        <entry name="BassUpmix">False</entry>
      </section>
      <section name="BassRenderer 2">
        <entry name="BassRenderer">Digital Audio (S/PDIF) (2- High Definition Audio Device)</entry>
        <entry name="BassRegkey">
        </entry>
        <entry name="BassUpmix">False</entry>
      </section>
    </profile>
     

    agamenon

    Portal Pro
    March 17, 2009
    70
    3
    @agamemnon:
    Perhaps I could help you when you give me a short description of your problem...
    Is there any exception, or what?



    Thank you very much for your work.

    But I do not work. Nothing appears in Mp, or change output

    Mediaportal 1.2.1
    ARC 0.8.1 "I have previous proven"
    Professional 32-bit Windows 7
    Saf 5.2 audio ffdshow
    MCE Remote

    I need:

    1. stereo - tv
    2. SPIDF-pass through - AV

    steps:

    1. Two settings of ffdshow, audio decoding and pass through. ok.
    2. ARC set up with two outs, Direct sound / Spidff. Ffdshow configurations assigned.
    3. I assign a command from the command "remote0". Save settings.
    4. I return to the ARC settings and I changed to NEXT_BOOKMARK
    5. I open MP. K, keyboard does nothing. Remote not ok
    :D
    :sorry:y for my English. Google

    This is my xml

    <?xml version="1.0" encoding="utf-8"?>
    <profile>
    <section name="General">
    <entry name="Code">k</entry>
    <entry name="Shift">no</entry>
    <entry name="Ctrl">no</entry>
    <entry name="Action">
    </entry>
    <entry name="Count">3</entry>
    <entry name="BassCount">0</entry>
    <entry name="BassCode">j</entry>
    <entry name="BassShift">no</entry>
    <entry name="BassCtrl">no</entry>
    <entry name="BassAction">
    </entry>
    <entry name="ShowOSD">yes</entry>
    <entry name="OSDTimeout">3000</entry>
    </section>
    <section name="Renderer 1">
    <entry name="Renderer">DirectSound: Audio digital (S/PDIF) (Dispositivo de High Definition Audio)</entry>
    <entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\SPIDF.reg</entry>
    <entry name="preferAC3">no</entry>
    </section>
    <section name="Renderer 2">
    <entry name="Renderer">Default DirectSound Device</entry>
    <entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\ESTEREO.reg</entry>
    <entry name="preferAC3">no</entry>
    </section>
    <section name="Renderer 3">
    <entry name="Renderer">DirectSound: AMD HDMI Output (AMD High Definition Audio Device)</entry>
    <entry name="Regkey">C:\Users\HTPC-SALON\Desktop\Soundswitch_V15\ESTEREO.reg</entry>
    <entry name="preferAC3">no</entry>
    </section>
    <section name="Renderer 4">
    <entry name="Renderer">Audio digital (S/PDIF) (Disposi</entry>
    <entry name="Regkey">
    </entry>
    <entry name="preferAC3">no</entry>
    </section>
    <section name="RendererChange">
    <entry name="DVD">no</entry>
    <entry name="TV">yes</entry>
    <entry name="Videos">yes</entry>
    </section>
    <section name="StoreConfig">
    <entry name="DVD">yes</entry>
    <entry name="TV">yes</entry>
    <entry name="Videos">yes</entry>
    <entry name="Bass">yes</entry>
    </section>
    <section name="Gereral">
    <entry name="Action">ACTION_NEXT_BOOKMARK</entry>
    </section>
    </profile>
     

    Thor2605

    MP Donator
  • Premium Supporter
  • April 2, 2009
    1,640
    184
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    agamenon:
    Do you have rights to change the registry with your user you are running MP?

    Why do you have all 4 renderers in your config?
    Please try to user onle the two DirectSound devices:
    DirectSound: AMD HDMI Output (AMD High Definition Audio Device)
    DirectSound: Audio digital (S/PDIF) (Dispositivo de High Definition Audio)
    And remove the rest.

    chielmi:
    I will have a look on the source this weekend. Maybe there is an error with BASS and MePo actions ;)
    But for videos it should work, at least other users said...
     

    agamenon

    Portal Pro
    March 17, 2009
    70
    3
    Re: AW: Audio Renderer Changer

    @agamenon:
    Do you have rights to change the registry with your user you are running MP?

    Why do you have all 4 renderers in your config?
    Please try to user onle the two DirectSound devices:
    DirectSound: AMD HDMI Output (AMD High Definition Audio Device)
    DirectSound: Audio digital (S/PDIF) (Dispositivo de High Definition Audio)
    And remove the rest.


    Thank you. But I tried this. and does not work.
    If I am a computer administrator.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    AW: Audio Renderer Changer

    I have the following problem:
    In TV-Mode ARC works with keyboard, but not with my remote.

    Does anybody have an idea what's wrong?

    Thanks
    Megahorst
     

    Attachments

    • buttonmapping.JPG
      buttonmapping.JPG
      44.2 KB
    • AudioChanger.xml
      1.5 KB

    chielmi

    Portal Member
    September 30, 2009
    14
    0
    Home Country
    Netherlands Netherlands
    Re: AW: Audio Renderer Changer

    @agamenon:
    @chielmi:
    I will have a look on the source this weekend. Maybe there is an error with BASS and MePo actions ;)
    But for videos it should work, at least other users said...

    Thank you!

    As a temporal solution I have now installed LM remote keymap to simulate a keyboard key with the yellow button of my remote. Works fine, but it would of course be better to configure this within the ARC configuration. I hope you can find a solution for this :)
     

    Users who are viewing this thread

    Top Bottom