Audio Renderer Changer (3 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Will look later busy at this moment on my side, full time on debugging other MP part but will back to you when i will take the time to test it again :)
    Thanks for looking on your side :p
     

    Luna96

    Portal Pro
    November 5, 2006
    5,336
    261
    Home Country
    Germany Germany
    Hi,
    the ARC changes the renderer. Press the button and stop the video playback. Start playback again and the renderer is changed. This works also with live TV. The ARC is since MePo 1.17.0 no longer able to stop playback and continue.
    For the audio playback, I use only my AV receiver. In the settings I have only entered the desired renderer and during playback is automatically switched to this.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Attached is a version that should works :p
    Explanation, between 1.16 and 1.17, the remote graph was renamed by adding (MediaPortal) in the name and then ARC wasn't able to match this new change but now the attached version does for newer MP version and lower :p
     

    Attachments

    • AudioRendererChanger_Sebastiii.zip
      55.7 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @Nephilim :p (i have added "|| strArray.Length == 6")
    C#:
    public DSGrapheditROTEntry(string displayName, IMoniker mon)
        {
          this._rotDisplayName = displayName;
          this._mon = mon;
          string[] strArray = displayName.Split(new char[1]
          {
            ' '
          });
          if (strArray.Length == 4 || strArray.Length == 6)
          {
            this._filterPtr = new IntPtr(Convert.ToInt64(strArray[1], 16));
            this._pid = Convert.ToInt32(strArray[3], 16);
          }
          Process processById = Process.GetProcessById(this._pid);
          if (processById == null)
            return;
          this._processName = processById.ProcessName;
        }
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    You mean in official MPEI (MediaPortal Extension Manager) ?
    If yes all is possible just need someone to do it :) (i don't even know how too on my side lol)
     

    steven123

    Portal Member
    January 1, 2014
    20
    10
    48
    Home Country
    United Kingdom United Kingdom
    Is there an easy way to get the audio render to change when the tuner changes on live TV. i.e. so that I have one render for satellite and a different one for terrestrial?
     

    Luna96

    Portal Pro
    November 5, 2006
    5,336
    261
    Home Country
    Germany Germany
    After a long time with MP 1.18 I installed win10 x64 clean on my HTPC and now use MP 1.21. Unfortunately, the ARC does not work properly anymore. The old problem is back. If I want to change the audio device, the playback stops. If I finish playback manually and press play the audio device is changed.
     

    Users who are viewing this thread

    Top Bottom