Skip to main content

python-slack-tunes

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
demo of slack-tunes output

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)

Source distribution for slack-tunes 0.4.1
File Size Uploaded Provenance Actions
slack-tunes-0.4.1.tar.gz 4.9 kB Without provenance Details for slack-tunes-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slack-tunes 0.4.1
File Interpreter ABI Platform Actions
slack_tunes-0.4.1-py2-none-any.whl Python 2 none any Details for slack_tunes-0.4.1-py2-none-any.whl

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

Security for slack-tunes 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page