@damian101 I copy the stream of DCA and AC3 streams from a DVD, into mp4a and m4a files, as a last resort, to avoid transcoding. Strawberry can play both of these.
I also compress DSD streams losslessly using WavPack. Strawberry can't play them, compressed or not. But to be fair, its closest GTK alternative Quod Libet, also can't play them. I think the only reliable music library based player for these is MPD. It'll even convert it to DoP if you need it to.
But when the stream is PCM, I just transcode to FLAC. It's lossless anyway, so nothing changes.
If you're not willing to go through the trouble of finding a player that can play TrueHD audio, doesn't it make more sense to transcode to FLAC? Since it's lossless, technically it should be fine. There must be a way to get MPlayer to do this. (It can convert audio to WAV; however by default it downsamples to 2 channels @ 48kHz). FLAC can handle multiple channels, high bit depths, and high sample rates, so long as they're PCM.
It might seem possible to use ffmpeg to transcode the PCM audio, but apparently it only supports one channel configuration for surround, so channels are switched around. Just set the bit depth and sample rate on mplayer, and output to a WAV file.
Here's the command I used for Ola Gjeilo's Piano Improvisations:
You might need to switch things around. Replace the square brackets as needed.
It does the job one chapter and title at a time; if you don't set an end chapter, you'll end up with a file with all the chapters concatenated.
Also, bdinfo will print out the audio IDs on the disc. Some distros have bluray_info instead; I don't know if it does the job.
You'll have to figure out the title and chapter using VLC.
If your Blu-ray is encrypted, you'll have to use MakeMKV. It's not free though. Also, the output is an MKV file, so all commands to extract audio from the MKV file will be different; I haven't figured them out yet. MPlayer is very hard to use...
I've never tried the KDE connect thing but I'm guessing that it uses MPRIS2 to Strawberry and also have a service running which listens to a port which then function as a received on the computer which again the Android remote connects to.
All such remotes which uses standard MPRIS2 will function with Strawberry.
But they only have basic functionality: https://specifications.freedesktop.org/mpris-spec/latest/
The purpose of having a custom remote specifically for the Strawberry like Clementine does is to manage all features of the player, not just basic play/stop/pause, etc. It won't be compatible with other audio players.
Spotify does not provide full-length stream URL's in the public API as far as I know.
Clementine uses the official library to receive raw audio, the library was discontinued many years ago, and I'm unsure if it still works. I've only briefly looked at how it works.
But the way Clementine does it is very complicated code-wise, and the specific code that links to the spotify library (blob) runs in it's own process outside of the main application not to violate the GPL license, and is usually not included in ie.: distro packaging. So the users has to click the download button in the settings to get both the spotify library and the clementine blob code.
Does Spotify in Clementine work anymore at all?
Even if I was to work on it I would need a subscription which I need to pay for, and I'm not even interested in having a spotify subscription. It would probably require to decrypt the stream in some way and implement a gstreamer plugin to handle it. I'm not keen on using the old spotify library even if it still works, since it's closed source and discontinued.
Feel free to do it if you think it is easy.