Created
August 13, 2018 14:43
-
-
Save ccnokes/887a2cb77cfbee865897f5f5de7fabb2 to your computer and use it in GitHub Desktop.
Plays Rick Astley's "Never Gonna Give You Up" in Spotify
This file contains hidden or 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
#!/bin/bash | |
osascript <<EOD | |
tell application "Spotify" | |
activate | |
play track "spotify:track:4uLU6hMCjMI75M1A2tKUQC" | |
play | |
end tell | |
EOD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment