Question: how to program a directv genie remote to a samsung 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.