My first choice would be to connect the BD player to the HDMI IN on the soundbar, connect the DirecTV receiver to the TV via HDMI, and connect the HDMI/ARC port on the TV to the HDMI OUT port on the soundbar. You will be using ARC to get sound from the TV to the soundbar when watching DirecTV and a direct connection to the soundbar when watching a blu ray. I would also turn AnyNet+ on on all devices. There are other ways and people might have different preferences but that's what I would try first.
We are here to help you. Please help us to help you. If you provide incomplete information, at best, we can give you an incomplete response.