send slack music notifications from spotify
Project description
send slack music notifications from itunes or spotify
Requirements
OS X
iTunes or 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.
You can also specify multiple tokens via comma-delimiter. This is useful for notifying multiple slack teams.
export SLACK_API_TOKEN="YOUR_TOKEN,YOUR_OTHER_TOKEN"
slack-tunes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file slack-tunes-0.3.1.tar.gz
.
File metadata
- Download URL: slack-tunes-0.3.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6d99a2996f16abf62ec123d94ecf1dfc9a7540892ee8c81e422d286860ff5d |
|
MD5 | 06286aaa9e0d36a9b14fec4d74592e9e |
|
BLAKE2b-256 | 9e122799143f1f950a1ab4c1c064f58a5d6d912718ffafde3f8b88b1bd3baf96 |
File details
Details for the file slack_tunes-0.3.1-py2-none-any.whl
.
File metadata
- Download URL: slack_tunes-0.3.1-py2-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab739fb900931ea8c39d796682dccac62b4711e7e78320fe7901c9baa5bd3f21 |
|
MD5 | 62ff8fdcc81e54a2453a08f7039d2ad1 |
|
BLAKE2b-256 | 3406ad62d0e788f37daf20e8afe66cb3e76b49178ff8dbc96f4eb8b17c2e9877 |