The article suggests, that a lot of the code in iTunes and Airplay was reused in AppleTV. There is an iphone app that controls the AppleTV over IP, which can be wiresharked. I could be a tester of this binding, if anyone is up for the challenge.
By searching google for “github” and “appletv, airplay, daap, mdns”, there are is lots of information about the appletv communication protocol. For reference, I’ll post several of the most promising.
There is an iPad only app called ytrack, that is still available, but not actively maintained. This app is designed to control iTunes, not Apple TV. But,I was able to pair my Apple TV, gen 2. The app has play/pause toggle button and forward and reverse buttons, which do work when an Apple TV video is playing. Also, the “album art” from the show I was watching shows up on the ipad, in the app. Several of the control buttons (left, right, up, down, select, home, menu) are not available. The source code for the app is available in the google code archives. It is written in objective C. https://code.google.com/archive/p/ytrack/wikis
I noticed that the original Sharkey code had a login of