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 (Alfred workflow and Raycast extension included; other tools 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

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

  • Raycast — integrations/raycast: a menu bar item with the track on your Discord status, plus a status view with cover, connections and zones. Run npm install && npm run dev in that folder to add it to Raycast.
  • 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.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 roon-discord-presence 0.1.1
File Size Uploaded Provenance Actions
roon_discord_presence-0.1.1.tar.gz 503.5 kB With provenance Details for roon_discord_presence-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 532.4 kB

Release files / roon_discord_presence-0.1.1.tar.gz

Download URL roon_discord_presence-0.1.1.tar.gz
Size 503.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a83941a1e7f2e2986ff2e8010ee7797ee49e48935e6fb9054e2cdd0402dbdf82
BLAKE2b-256 checksum
How to use checksums
8afb2b70b426f57e9a7dee2320937532ca855cef13a0613f7be19b5090addc52
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.1-py3-none-any.whl

Download URL roon_discord_presence-0.1.1-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2eec4a76effe83a63a3ad9f08899d30bc59e8617a92ab641c2347034a996b3ea
BLAKE2b-256 checksum
How to use checksums
60a44bfc64109e7fbb2283bb1df3b1b32a1a9708ccabf461d5935714a9820c19
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.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.

Full provenance

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

Select from 2 files

Attestation for roon_discord_presence-0.1.1.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.1 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