The way that I've helped others connect their soundbar is like this: All source devices to the TV (HDMI preferred), and TV optical out to the soundbar optical in.
For you this would be:
- PS4 -> HDMI cable -> TV
- Sky Box -> HDMI cable -> TV
- Blu-Ray -> HDMI cable -> TV
- TV -> Optical Digital Audio -> Soundbar
Now you won't have to select the input device on your soundbar, when you change inputs on the TV the TV's optical digital audio output will follow. If this won't work for you, tell us why and maybe someone can help more.
2-Ch (HT L/R): Oppo BDP-105 BD, Adcom GFP-750 pre, Bryston 10B Sub Xover, Bryston 4BSST2 / Paradigm Signature S4 v.2 (L/R), (2) SVS SB12-NSD (Subs)
Home Theater: Bryston 4BSST2 amp / Paradigm CC-590 (C), Outlaw 7700 amp / (4) Def Tech UIW-RSSII (LS/RS/LB/RB), Samsung 46” 3D LCD