iTunes Shuffle no longer works?

Hi Folks,

I’ve just started putting together some AppleScript helpers for my family and it appears that the shuffle state no longer works (iTunes 12.3.3). This script always returns “false” even when the shuffle state is true and the little crossed arrows are blue. I’ve checked and the shuffle word is still in the dictionary for playlist.


tell application "iTunes"
	return (shuffle of first library playlist)
end tell

Is it me, or has Apple busted iTunes scripting?

It seems that nowadays shuffle is not a property of a playlist, but a state of iTunes. Someone forgot AppleScript in the process.

This question is neither AppleScript Studio nor Xcode related. Please ask questions about iTunes in the AppleScript | OS X forum.