Use AirFlick. (If use AirFlick, below options are ignored.)
Name of Apple TV (default: appletv.local.)
Password of Apple TV (default: <none>)