Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OSX/Applescript - get artist / title of the current track playing on Spotify
$ osascript -e "if application \"Spotify\" is running then tell application \"Spotify\" to get artist of current track & \" - \" & name of current track"
Tirzah - Fine Again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.