AppleScript is broken when using Spotify Connect

Reply
Highlighted

AppleScript is broken when using Spotify Connect

pl_g
Casual Listener

The macOS desktop client supports scripting via AppleScript. A recent update has broken it when Spotify is playing via Spotify Connect.

 

This is an issue for people using scripting to help with accessibility, and for people how rely on scripting for automation.

Here's a simple command to check if it is working properly:

osascript -e 'tell application "Spotify" to get name of current track'

 

The command should output the playing track's name, but it doesn't print anything.

1 Reply

Re: AppleScript is broken when using Spotify Connect

Masterbas
Casual Listener
Same here!
SUGGESTED POSTS