iTunes 11.1 Breaks Some Airplay scripting
[UPDATE: iTunes 11.1.2 addresses and fixes this issue.]
The latest version of iTunes breaks some scripts I posted when Airplay scripting was introduced back in the Spring.
Specifically, an error will be generated doing something as simple as this:
Come on. It's gotta be a bug, right? You can still get properties of AirPlay devices and set the current AirPlay devices property by device name:
tell application "iTunes"
set apDevices to (get name of AirPlay devices)
--> {"Computer", "Doug's AirPort Express"}
set current AirPlay devices to AirPlay device "Computer"
end tell
Waiting to see how this evolves.