Some of the cheapo Chinese brand Android phones have an IR blaster, and there are a couple of good programmable controller apps. MSR codes are all published on the M website. That's probably your cheapest alternative route.