So, how does one go about creating an AirPlay Alarm Clock? First of all, you will need a mac that is turned on with a shared iTunes library of content. Thanks to a bit of AppleScript, I've managed to cook up a basic app to do just that. The first step would be to get audio playlists working, but the ultimate goal would be to have video alarms as well. The basic idea is that at a set time in the morning, the Apple TV will wake itself up automatically and start playing a set playlist from my shared iTunes library.
With the recent news about iPhone alarm clocks failing to go off (again) and lots of hacking projects with AirPlay to try and stream more than just YouTube videos, I decided to work on something this evening I've been thinking about for a little while turning my Apple TV into an Alarm Clock. Times have changed though and I no longer have a mac mini in my bedroom I have an Apple TV. I had an old mac mini lying around and so installed it in my bedroom as a device which basically acted as an iTunes library and alarm clock. I was recently reading through some of my old blog posts when I discovered an article that is still fairly popular about controlling a mac mini via an iPhone.
#SET UP AN ALARM CLOCK ON MACBOOK HOW TO#
Please read my updated article to see how to create an AirPlay alarm clock with iTunes 11 and iTunes 12. This article is now outdated and the code no longer works with modern versions of iTunes.