[Patch] switch audio stream in video / DVD with one key (1 Viewer)

FlipGer

Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    in Configure->General->Keys the A-Key is assigned to switch the audio stream in fullscreen video playback.

    This did not work, because the relevant method SwitchToNextLanguage() was not existant in g_player.cs. And therefore the call was commented out in GUIVideoFullscreen.cs.

    Changed files:
    g_player.cs
    - added method SwitchToNextLanguage()

    GUIVideoFullscreen.cs
    - changed Action.ActionType.ACTION_NEXT_AUDIO: to call SwitchToNextLanguage() and display the language

    C# files can be found on Sourceforge

    Now you can press A in fullscreen playback to cycle through the audio streams in AVIs and DVDs.

    Unfortunatly I did not managed to get this work with my Hauppauge Remote. I added the Action to the green button, but this does not seem to work. Perhaps mPod can take a look into this?

    Happy stream switching. :)

    Flip.
     

    vyd

    Portal Member
    April 13, 2006
    7
    0
    Thank you for your work.

    Sorry for the dumb question: Will this automatically be integrated into future builds? Been waiting for this feature for some time now.
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    thanks for all the answers. :)

    Yeah, hopefully it will be integrated in future SVNs. I do not have developer access, so we have to wait, until one of the DEVs will commit it into the current source. I have an eye on it, to see it implemented soon. ;)

    Flip.
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    50
    Home Country
    Greece Greece
    are you sure it is in SVN?

    at least for one video I tried, it doesn't work
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    yeah, it is in SVN and it works for me on DVDs and AVIs.

    But there may be some AVIs that do not work. Depends on the container format. And make sure you did install the Haalia Media Splitter

    HTH, Flip.
     

    Users who are viewing this thread

    Top Bottom