IR control of 2 different devices

How do you think manage the universal remotes you can buy, the control of 2 devices with 1 diode?