Check with DirectTV whether their remote can learn (or knows) the soundbar' infra-red codes. if that is not the case, you can get "universal programmable" remove (anything from $50 to $500) which can learn the codes for both DirectTV and the soundbar.