To be clear. The codec is in my case in fact LPCM, the message is however saying "unknown codec: PCM". Is this a bug or is it just not implemented?
Confirmed my receiver can do PCM, LPCM, and, in fact, rasplex can pass PCM from certain files (see post) just not from the ones I uploaded to GitHub. Use mkvtoolnix (https://www.bunkus.org/videotools/mkvtoolnix/downloads.html) to create some samples of files with problems and add those to the GitHub post i opened. The more info they have the better they can identify the problem. I just split out 20 second samples.
Can you check that your server has the profile 'Plex Home Theater-RaspberryPi.xml' in the directory where PMS runs from, on Ubuntu it is in /usr/lib/plexmediaserver/Resources/Profiles
I can report something knew: I can force Rasplex to passthrough and direct play a file with PCM audio; in fact I can make two.mkv (https://dl.dropboxusercontent.com/u/13997835/winter/two.mkv) pass the PCM and Direct play by doing the following:
1. ACC is the default track (as i added this to stop the transcoding)
2. Select the PCM track manually in rasplex
3. The file now Direct Plays and the PCM audio is passed through to the receiver.
Does this not indicate some kind of bug? It seems that if PCM audio (in some cases) is the default track it will transcode. I did noticed that PHT has a 'Multichannel LPCM Capable Receiver' option to check in the audio settings and rasplex does not, just DTS and AC3.
p.s.
I updated the Guthub site with the information i found.