Created
February 14, 2019 08:47
-
-
Save st44100/b7eb6fae23e57afb5ae95942c9357457 to your computer and use it in GitHub Desktop.
Get current playing track from 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
# https://github.com/dronir/SpotifyControl/issues/2#issuecomment-8686456 | |
tell application "Spotify" | |
set theTrack to current track | |
set theArtist to artist of theTrack | |
set theName to name of theTrack | |
set theCover to artwork url of theTrack | |
return theArtist & "|" & theName & "|" & theCover | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment