I have a couple of scripts that send text to speech messages to my Apple TV. They were working a few months ago when I created them and now that I want to use them again they are not working. My Apple TV just says:
Device Requirements
This AirPlay connection requires iOS 7.1 or later, OS X 10.10 or later, or iTunes 11.2 or later.
Any idea what could be causing this or how I can even diagnose it?
Apple enforces device verification in tvOS 10.2+ that was recently released. This broke a lot of AirPlay clients, pyatv being one of them. I have not had the time to investigate this further yet, but I will as soon as I can. For now, airplay (e.g. TTS) to tvOS 10.2 is not supported.
The device verification has now been reverse engineered (not by me) and a Java library is available that deals with it. I have managed to port the java library to python, so hopefully within a not too distant future support will be added to pyatv. This basically means that airplay will work with tvOS 10.2+ again! You can follow the work in this issue: