Solved Toggle between audio tracks when playing a video
I searched the forum and Google and couldn't find the feature I need.

I need to be able to switch between audio tracks (or language) when playing a movie. For example, I have a movie with english and french tracks. Sometimes, I may want to watch it in english and other times, in french.

The option to select a default language I found in Kodi is not what I need. This features seems to play a video file in a specific language.

It's a feature available in VLC (see screenshot below).


You can already do that:
1) Press 'm' to bring up the OSD, select "Audio Settings" and then the "Audio stream"
2) ...or you can edit the keymap to assign the "AudioNextLanguage" action to the button of your choice

For example, this keymap will allow you to jump to the next audio stream by pressing 'a':
<?xml version="1.0" encoding="UTF-8"?>
Thanks sialivi,

I'll play with your suggestion and tweak it to my likings.

I'll now fumble to see how to make it easier to use with Yatse...
I tweaked the remote mapping to toggle the audio track from Yatse (or any other remote).

As I don't plan to use Kodi's volume up and volume down features, I mapped the "volume plus" button to toggle to the next audio track.

The file is:
(or an equivalent location on your OS).

The content of the file is:

I restarted Kodi and it worked!
Yatse has a button to do this already.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)

Logout Mark Read Team Forum Stats Members Help
Toggle between audio tracks when playing a video0
This forum uses Lukasz Tkacz MyBB addons.