I found that there were already commands in the remote. They were poorly labeled but they worked.
I had the most trouble because someone added the streaming player and connected an IR emitter to the RF output of the MRF350. Fortunately that did not damage anything, but it didn't work, either!
A good answer is easier with a clear question giving the make and model of everything. "The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw