Apple Music AppleScript Stopped Working
I used to be able to get the current track from Music with AppleScript, but with a recent update it stopped working:
% osascript -e 'tell app "Music" to get current track'
24:37: execution error: Music got an error: Can’t get current track. (-1728)
Current track is still in the dictionary so I believe there’s a permission issue, but I can’t figure it out. Other AppleScript still works e.g.
% osascript -e 'tell app "Music" to get version'
1.6
Any ideas?
Mac mini, macOS 26.0