If i understood you correct, this is already possible. User is able to add commands from different device controllers to one button (for example "play" from telnet backend and "play" irtrans command). Those commands will be executed in order behind each other.