Hi,
i have some problems to play the correct audio format video on movies with multiple audio streams. CE selects the wrong audio stream and thats because the wrong audio format video is played.
CE extracts the audio codec information from the first stream found in the movie.
script.cinema.experience/ resources/lib/ce_playlist.py
...
410 try:
411 audio = movie_detail['streamdetails']['audio'][0]['codec']
412 except:
413 audio = "other"
...
As noted in the following post http://forum.kodi.tv/showthread.php?tid=105362 there should be some magic to select the right audio stream.
Choosing the Audio Stream
- If "Default Audio Language" is set, XBMC looks at all the audio streams in a video and if there is one of the "Default Audio Language" it chooses that.
- If there is more than one stream with the default audio language it chooses the one with the most number of channels / best codec if same number of channels.
- If none found with "Default Audio Language" revert to what dvdplayer does already.
I don't know if it is possible to get the preferred audio stream settings via jsonRPC to reproduce the same logic.
Looking forward to positive response from you :-)
Hi,
i have some problems to play the correct audio format video on movies with multiple audio streams. CE selects the wrong audio stream and thats because the wrong audio format video is played.
CE extracts the audio codec information from the first stream found in the movie.
script.cinema.experience/ resources/lib/ce_playlist.py
As noted in the following post http://forum.kodi.tv/showthread.php?tid=105362 there should be some magic to select the right audio stream.
I don't know if it is possible to get the preferred audio stream settings via jsonRPC to reproduce the same logic.
Looking forward to positive response from you :-)