This adds the language or "unknown" in front of a audio track name.
For example: English - 2/0 - AC3 Stereo.
English - 2/0 - AC3 Stereo
Set the language of dvd audio streams.
Add logic to GUIDialogAudioSubtitleSettings in order to show the lang…
…uage of audio tracks.
possible unrelated change ?
Just to make things easier in the gui logic. Basically the problem is that s.name is also set this way and that
nav->GetAudioStreamLanguage(i); returns the full language name and not a code, cf. my 1st. comment.
While implementing this I noticed that the stream details of dvd tracks aren't set properly.
Will address this issue in a separate PR eventually.
Hmm.. Seems we should make sure language is not included in name in the
player? Detecting that at display seem wrong.
Agree, I just wanted to keep this PR minimal w.r.t. code changes.
The same problems occur regarding subtitles, I would also open a separate PR for that.
fyi I started to work on the root issue: https://github.com/ace20022/xbmc/commits/unify_stream_lang
I will open a PR once it's ready.
I opened an advanced PR at PR #2162 .