Created
May 17, 2015 06:11
-
-
Save artemgordinskiy/8bc551502e6ca2d73809 to your computer and use it in GitHub Desktop.
Get current Spotify track's properties
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
tell application "Spotify" | |
get player state | |
get artist of current track | |
get name of current track | |
get duration of current track | |
get popularity of current track | |
get track number of current track | |
get spotify url of current track | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment