While I've left my now fairly old TV on the internet, I use optical (TOSLINK) out to a cheap class D amplifier, which seems to have been a more reliable system than any of the HDMI audio based ones.