feat: enhanced discord rich presence#103
Merged
Merged
Conversation
peternaame-boop
approved these changes
Jun 19, 2026
peternaame-boop
left a comment
Owner
There was a problem hiding this comment.
Thank you, @Wiibleyde! Live-tested this end to end against a running client — the album art renders from the thumbnail URL, the activity shows as "Listening to YouTube Music", and the elapsed timer works. The ActivityType import guard for older pypresence is a nice touch too. Composes cleanly with the client-ID fix that just landed. Merging — ships in v1.9.4. 🙏
peternaame-boop
added a commit
that referenced
this pull request
Jun 19, 2026
Playlist management (#79), entity-action consolidation (#81), corporate CA bundle support (#98), and richer Discord Rich Presence (#103), plus crash fixes for ANSI themes (#89), Homebrew libmpv (#90/#101/#104), the Windows mpris extra (#106), the Nix spotifyscraper build (#93), and flake packaging (#95/#105). Also: corrected config-reference defaults, documented the [search] and [lyrics] sections, removed the dead border_style setting, and untracked stray .superpowers/ scratch files that had leaked in via #98.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhances Discord rich presence with two improvements: uses the track's thumbnail as the large image (falling back to the ytm_icon asset when absent), and sets ActivityType.LISTENING via pypresence for proper "Listening to" status display. Also adds start timestamp so Discord shows elapsed time. ActivityType import is guarded for older pypresence versions that lack it.
Testing
ruff format src/ tests/ruff check src/ tests/pytest tests/Related
No issue related