System and IINA version:
Expected behavior:
Preferred audio language is respected when playing videos.
Actual behavior:
First audio language from the list is used instead. Preferred language set in settings is ignored.
Steps to reproduce:
How often does this happen?
Reproducible: always
Also, it's not clear in what format should I type languages in Preferred language text field. Should it be an exact match, 2-letter ISO code or the audio track should contain text from this field? (I tried all these though)
I can't reproduce this on beta 4, make sure the language for the track is set correctly in the mkv (MKV ToolNix makes you check that). I tried a mkv with a jpn and an eng track, and set eng as audio language preference, and the English track was played back correctly
Wow, thank you, setting eng worked!
Both English and en didn't work.
But how could I get the name of the track if I were a casual user? If it can be any (like en, eng, English, US, ...), maybe it would be better to ask user to choose an actual language from the dropdown and do some guessing behind the scenes?
Right now I see “[English]" and expect that if I type “English” in settings, it would work:

It's the same in Subtitles setting,

We should probably add a tip here as well.
Most helpful comment
It's the same in Subtitles setting,

We should probably add a tip here as well.