The only thing I did to try and connect my tv to the receiver was connect the optical cable between the two.
on the tv I changed the “sound out” setting to “optical” and I changed the receiver setting also to “optical”. The setup works if I use airplay, but not for anything else.