Skip to content

feat: enhanced discord rich presence#103

Merged
peternaame-boop merged 2 commits into
peternaame-boop:masterfrom
Wiibleyde:master
Jun 19, 2026
Merged

feat: enhanced discord rich presence#103
peternaame-boop merged 2 commits into
peternaame-boop:masterfrom
Wiibleyde:master

Conversation

@Wiibleyde

@Wiibleyde Wiibleyde commented May 22, 2026

Copy link
Copy Markdown
Contributor

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

  • Ran ruff format src/ tests/
  • Ran ruff check src/ tests/
  • Ran pytest tests/
  • Manually tested in the TUI (if UI change)

Related

No issue related

@peternaame-boop peternaame-boop left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 peternaame-boop merged commit abf2c00 into peternaame-boop:master Jun 19, 2026
8 checks passed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants