2012-10-01, 21:03
Just about to add audio and subtitle menus when I noticed the "name" isn't returned for audio or subtitles. For example GetItem or GetMovieDetails gives:
but Player.GetProperties gives:
Without the "name" you get things like: eng eng eng. Where there are two commentary tracks. Same thing for subtitles.
I'll have a look and see if I can do it myself but you can probably do it in 5 minutes
Code:
"streamdetails": { "audio": [ { "channels": 6,"codec": "dca","language": "eng" }
Code:
"currentaudiostream": { "bitrate": 0,"channels": 6,"codec": "dca","index": 0,"language": "eng","name": "DTS 5.1 @ 1510 kbps - DTS 5.1" }
I'll have a look and see if I can do it myself but you can probably do it in 5 minutes