Why the obsession with optical when HDMI is available and more convenient?
Here's the thing with TVs too. I had an LG C1 TV connected to a Klipsch 600 soundbar, and connected a WiiM Mini via optical to the Klipsch. The LG had a Tidal app. And hand on heart streaming Tidal directly from the TV sounded definitely better than from the WiiM. Who knows why, but I used the WiiM for convenience, gapless etc.
Actually I may know why - the gain on either the WiiM or the Klipsch optical was too high, so I could have used the variable output from the WiiM, but then you lose bit perfect transmission, maybe it would have been worth it.