I need to mirror content of my laptop screen to AppleTV unit. It is easy using airplay.jar script taken from here:
http://www.instructables.com/id/Airplay-to-AppleTV-From-Linux-PC/
But the problem is that I have to know IP address of AppleTV box. Of course it is possible to know that address using for example avahi-browse command from CLI but I want to do it automatically. So is any possibility or ready application to mirror screen to AppleTV with automatic IP address of AppleTV recognition?