Please check out
https://github.com/thomas-villagers/avsend
for a python script to control your Yamaha AV Receiver.
This is more or less the same stuff the Android and iOS apps are based on.
So feel free to make a nice GUI if you like.
Have fun!