Kodi not playing (passing through?) 5.1

Hi everyone,

Just installed Kodi on my Android TV (Sony Bravia). I’m playing a video file off a USB thumb drive with a 5.1 audio channel. Playing this video using the native/default video playing app that comes with Android works fine. My receiver detects multi channel audio and it sounds right. But I’ve got several reasons to prefer Kodi.

Kodi though is not playing 5.1. The receiver reports PCM and the audio sounds like stereo. I followed this video (https://www.thatsitguys.com/how-to/get-s…rking-kodi) which seemed to provide some very basic guidance on enabling DTS and passthrough. And then this forum discussion (http://forum.kodi.tv/showthread.php?tid=229348) suggested enabling PCM in the Android system settings, which I did. The Kodi app displays AAC 5.1 but still the Onkyo receiver reports PCM and sounds wrong.

I know the setup works because the Android video player works. Any idea why Kodi would not properly get the 5.1 signal to the amp?