@pdingle
As described by @Airgetlam, use this - it’s superb, cheap, and allows you to connect the Ray to the HDMI ARC/e-ARC port:
https://www.amazon.co.uk/dp/B07CWMRG2C?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_1
Basically, you connect the TV’s HDMI-eARC to this extractor by HDMI cable, then optical cable from this extractor to the Ray.
As you’re in Aus, you might not be able to see this link, so search Amazon or Google for:
“PROZOR HDMI ARC Audio Extractor 5.1CH – HDMI ARC to Optical SPDIF RCA L/R 3.5mm 2.0CH Audio Converter”