Back to Samsung to tell you exactly how to set the optical as the output for apps and the digital terrestrial receiver.
When I set this up I usually find not only must I set the TV to output on optical but in the apps as well. There are so many priors here but Samsung needs to do better.
https://www.google.com/search?q=samsung+smart+tv+no+sound+on+netflix
I have recent bought a Samsung 50inch smart tv.
I have connected it to my sony surround sound receiver.
I have a hdmi from hdmi 1 on the tv to hdmi out on the receiver.
I have an optical connection from my tv to the receiver.
my sky box is hdmi from hd box to hdmi 1 on the receiver.
sound from hd box is great, but from the smart tv side ie digital terrestrial or Netflix no sound unless I set to tv speaker.
I have reset back to factory settings for my tv, used hdmi 3 on the tv which is labelled as arc. still nothing from the external speakers
any suggestions thanks .

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic