AppleTV/aTV remote control

I was wondering if there is a way to control the AppleTV from a pc?

For example;

I would like to send a command from my pc to the AppleTV to play a specific movie or TV show in Sapphire.

Podcasts, Movies, Photo’s all would be nice as well but the key is for me to do it remotely. Basically from my home automation pc.