send slack music notifications from spotify
Project description
send slack music notifications from spotify
Requirements
OS X
Spotify
Installation
Using PIP via PyPI:
pip install slack-tunes
Using PIP via Github:
pip install git+https://github.com/josegonzalez/python-slack-tunes.git#egg=slack-tunes
Usage
Export a SLACK_API_TOKEN, as shown on their tokens page, and then execute the binary:
export SLACK_API_TOKEN=YOUR_TOKEN
slack-tunes
Slack tunes will run in the foreground, and can be terminated at any time. It will update the status at most every 10 seconds, and will clear your status if no music is playing.