There are different ways to set up a music system. It would depend on your budget and needs.
The old school way would be a stereo receiver or integrated amp with an impedance matching speaker selector with or without volume controls for each pair.
If you got a receiver like the new Denon DRA-800H that has Heos streaming built in and app control. It has HDMI and phono inputs so would work with video and a turntable too. You could use an AVR is you want surround sound.
You would not be able to listen to different sources in different rooms. You could add 1 or 2 Denon HeosAmps to create separate zones.
You could use three Sonos Amps or Denon HeosAmps to create a multiroom multizone system with individual control of each room using the...