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
Metadata
Release files for slack-tunes 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| slack-tunes-0.4.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slack_tunes-0.4.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.7 kB
Release files / slack-tunes-0.4.1.tar.gz
| Download URL | slack-tunes-0.4.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eba42cb9216ea5f5df885782f0763baa8435ef7dc6facab2337682de3afbd6e5
|
|
BLAKE2b-256 checksum How to use checksums |
d4eb34d287823a44027ae7d5d99cdedf5b5f62e9e4e203fd16543acda6138349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / slack_tunes-0.4.1-py2-none-any.whl
| Download URL | slack_tunes-0.4.1-py2-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
afa6b13b7fc8b9aaf74cd33b6955df726d0c5589783186d6d6b43daac7107c0d
|
|
BLAKE2b-256 checksum How to use checksums |
4c7672cee99864c91175568ba7b63c1163f4b9ed6fd51ed47f435f53d8b58b1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|