Created
February 6, 2019 16:26
-
-
Save loisaidasam/aa225ad57f39866252afa11dde34e2a4 to your computer and use it in GitHub Desktop.
OSX/Applescript - get artist / title of the current track playing on Spotify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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