Question: how do i program my directv remote to my samsung 4k tv?
Answer: Press and hold the MUTE and SELECT buttons on your Genie remote control.
Wait for the green LED light on the remote to flash twice.
Enter the appropriate manufacturer's code: For Samsung DIRECTV Ready or DIRECTV Ready 4K TVs, enter 54000. ... 
Follow the prompts.