A simple bash script to print the current track you're playing on spotify in a slack channel
- a mac running spotify
- curl
- place the script somewhere. It must be run on the mac running spotify
- grab your personal auth token for your slack space: Link
- adapt the configuration to your needs
- change the token
- change the channel
- optional change the color
- bonus set a footer icon url
- execute the script, if nothing happens remove the
> /dev/null
redirect to see the error
I created an Alfred workflow to quickly execute the script.