Skip to main content

roon-discord-presence

English · 日本語 · 繁體中文 · 简体中文

Show what Roon is playing as your Discord Rich Presence — "Listening to …" with title, artist, album art and a progress bar.

Unofficial. Not affiliated with Roon Labs or Discord.

  • Runs as a Roon extension on the Mac where Discord runs; follows whichever zone is playing.
  • Album art on your own terms — Roon's artwork is only reachable on your network, so covers are published through a provider you choose: any S3-compatible bucket (Cloudflare R2, AWS S3, Backblaze B2, MinIO) or your own upload script. Or skip covers entirely.
  • Self-healing — survives Roon restarts, Discord restarts and in-app Discord updates.
  • Status line in Roon under Settings → Extensions, plus status --json for launchers (an Alfred workflow is included; Raycast and others can build on the same JSON).

macOS only for now.

Install

uv tool install roon-discord-presence            # or: pipx install roon-discord-presence
uv tool install 'roon-discord-presence[s3]'      # with S3/R2 cover upload support

Not on PyPI yet? Install straight from GitHub: uv tool install 'roon-discord-presence[s3] @ git+https://github.com/alvinism/roon-discord-presence'

Then run the guided setup:

roon-discord-presence setup

It asks where your Roon Core is (and checks it), optionally sets up album art (testing an upload end to end and keeping the secret in the Keychain), writes the config, starts the background service, and waits while you click Enable next to Discord Presence in Roon → Settings → Extensions. Play something — your Discord profile shows it within seconds.

Prefer doing it by hand? roon-discord-presence config init writes a commented config file; edit it, then roon-discord-presence start.

Commands

Command
start / stop / restart manage the background service (a launchd LaunchAgent)
status [--json] what is playing, whether Discord/Roon are connected — JSON schema
setup guided setup (config, covers, service, Roon approval)
run [-v] run in the foreground (debugging)
config init | path | check create, locate or validate the config file
logs [-f] show (or follow) the log

Configuration

~/.config/roon-discord-presence/config.toml — every key is optional.

[roon]
host = "127.0.0.1"        # the Roon Core; use its IP if it runs on another machine
port = 9330
# zones = ["Desk"]        # only follow these zones

[discord]
# client_id = "..."       # your own Discord app, to change the "Listening to …" name
fallback_image = ""        # asset key or https URL when there is no cover
status_display = "state"   # member list shows "name" (app), "state" (artist) or "details" (title)

[covers]
provider = "none"          # none | s3 | command
size = 512

Secrets can reference the macOS Keychain or the environment instead of being written in the file: secret_access_key = "keychain:<service>[/<account>]" or "env:VAR".

Restart after changing the config: roon-discord-presence restart.

Album art

Discord fetches images from the public internet, so covers must be published somewhere it can reach. See docs/covers.md for:

  • s3 — any S3-compatible bucket with a public URL (step-by-step guide for Cloudflare R2, which has free egress and a generous free tier),
  • command — your own script, e.g. scp to a VPS (example).

Each album is uploaded once (named by content hash) and reused afterwards.

Front-ends

  • Alfred — integrations/alfred: status list with start/stop/restart. Download Roon-Discord-Presence.alfredworkflow from the latest release, or build it with python integrations/alfred/build.py (output in dist/).

Files

Config ~/.config/roon-discord-presence/config.toml
State (Roon token, cover map, status) ~/Library/Application Support/roon-discord-presence/
Log (size-limited) ~/Library/Logs/roon-discord-presence/
Service ~/Library/LaunchAgents/io.github.alvinism.roon-discord-presence.plist

Limitations

  • Roon ARC playback is not visible to extensions, so it can't be shown.
  • Discord must be the desktop app on the same Mac (Rich Presence uses a local socket).

Development

uv sync --all-extras
uv run pytest
uv run ruff check .
uv run roon-discord-presence run -v

License

MIT

Metadata

Release files for roon-discord-presence 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roon-discord-presence 0.1.0
File Size Uploaded Provenance Actions
roon_discord_presence-0.1.0.tar.gz 502.8 kB With provenance Details for roon_discord_presence-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for roon-discord-presence 0.1.0
File Interpreter ABI Platform Actions
roon_discord_presence-0.1.0-py3-none-any.whl Python 3 none any Details for roon_discord_presence-0.1.0-py3-none-any.whl

Total release size: 531.7 kB

Release files / roon_discord_presence-0.1.0.tar.gz

Download URL roon_discord_presence-0.1.0.tar.gz
Size 502.8 kB
Tags Source
SHA-256 checksum
How to use checksums
48214e1f5002beff2f984c86759f56de0873e9cbb12d3486c49237f892b83e5c
BLAKE2b-256 checksum
How to use checksums
efaa7060edaffe6e6589265f9ab52eecdd1a20180ed1698de0946ef840797ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / roon_discord_presence-0.1.0-py3-none-any.whl

Download URL roon_discord_presence-0.1.0-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6304878ef9ef633988386d87acd4c3aaab9c018634b24ae4924966f5ba9e5e4c
BLAKE2b-256 checksum
How to use checksums
debdef90fb0168d9296ada94f01a7e024169d181536f079c264eaa9855caad8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for roon-discord-presence 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for roon_discord_presence-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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