This may not be the best route, but it works for us.
Our Sony TV is connected with an optical cable to our DAC. The DAC is connected to the stereo.
Both our Humax box and Bluray player are connected to the TV through HDMI. All sound (when watching anything on the TV) is routed to the DAC. It works really well and is easy to use, even for my partner.
The DAC works as a digital hub for us. We have the TV, the Bluray player and an Airport Express connected.