For audio, you could also use a USB DAC for potentially better sound quality. HRT Streamer line is one that comes to mind.
A mini-jack to RCA cable would also work if the MacBook's toslink is too jittery for the TV's optical audio input (if it has one). Some of the optical outs on Mac don't work great with certain optical inputs/DACs.