FWIW, I have no trouble playing any of my alternatively sourced media, 4K Dolby Vision included, using an app called Infuse. Pass-through audio may indeed be an issue for some lossless surround formats, or at least that's what it sounded like the last I looked into it some years ago. I don't have the right room to set up surrounds so it's stereo only over here anyway. But that said I love the app, lovely interface, etc.
When I tried that before, the Infuse UI was unusably show for me, likely due to the library size, streaming from my server hung for a long time, it had to transcode most of the time because so few codecs were supported and it only supported stereo audio output. DV wasn't supported at all at the time.
It sounds like it's gotten better by a lot, but I'm curious whether you've had to pay for each newer version if Infuse. They were doing a "for life" purchase before, but that just meant the one major version number, and they were releasing new and EOL old major versions every 1.5-2 years at the time. It seemed like they were heading own the path of a monthly subscription payment model at the time
I had to look to remember, I'm on a $10/year subscription for "Pro". From looking at their page I'd say some codec support is under the Pro license. I know I haven't thrown anything at it that needed transcoding, but I'm not playing anything exotic either.
Being annual and pretty cheap I really don't mind throwing them some money to continue development, it's worth it to me for the experience. I can't tell from the website but I feel like there's a monthly option if ya just want to test the waters.