I want to build a multiroom audio solution based on Rpi and Snapcast (the best solution I've seen up to now).
I found lot of articles, tutorials, samples how to build such a system to play audio from files, Spotify or whatever service or storage. However, my primary goal is to share sound from my TV across the rooms. So I want to connect my TV with the Rpi with Snapcast server running by wire (jack or optical) and cast the sound to all Snapcast clients (and controll it from HomeAssistant, but thats the next chapter). And, if possible, to have also direct audio output from the server.
I was not able to find any suitable example of such a setup. It looks like it is not a simple deal to work with audio input on Rpi.
Could you please provide something to read or, better, some experience? Or it will never work?
cat
is used with a file here: https://wiki.gentoo.org/wiki/Snapcast#Audio_source – goldilocks Nov 08 '19 at 14:01