Skip to content

A simple bash script to print the current track you're playing on spotify in a slack channel

License

Notifications You must be signed in to change notification settings

snod/slack-now-playing-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-now-playing-spotify

A simple bash script to print the current track you're playing on spotify in a slack channel

Requirements

  • a mac running spotify
  • curl

Example

Example

Usage

  1. place the script somewhere. It must be run on the mac running spotify
  2. grab your personal auth token for your slack space: Link
  3. adapt the configuration to your needs
  • change the token
  • change the channel
  • optional change the color
  • bonus set a footer icon url
  1. 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.

About

A simple bash script to print the current track you're playing on spotify in a slack channel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages