My newer Samsung TV has a feature titled ‘Universal Remote’. Works great with the TV’s Bluetooth remote also having an IR transmitter that emulates many brand IR codes. The brand selected in the ‘Theater’ group drop-down list is Sonos. Mute and Vol. work great. The TV auto switches to optical on power-up seamlessly. Luv it!
I have a desktop FLAC player with optical out. I remove the TOSlink cable from the TV and simply insert it into the player. Works great playing audio. But… when I connect the cable back to the TV (which is off the whole time) and power up the system, all remote and Optical TV settings drop to ‘TV Speaker’ having to reprogram all TV settings.
This makes no sense why a cable change to a different device blows the TV’s programmed settings. I didn’t find a solution but have a theory the TV sleeps (not actually off) and detects when the cable loses light switching sources. It instantly defaults back to TV Speaker and doesn't retain the remote programming. Yep, a Do- Over each time swapped.
I was going to order a 3 port in, one port out Toslink switcher to select different sources. This anomaly is a Samsung thing where a switcher would still duplicate the cable (light break) swap. I posted for any having a similar idea, finding it’s a nope with Sammy stuff.