mirror of
https://github.com/JakeStanger/mpd-discord-rpc.git
synced 2026-07-11 05:15:29 +01:00
[GH-ISSUE #32] [new-feature-request] Adding rich presence buttons #1616
Labels
No labels
bug
enhancement
help wanted
package
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/mpd-discord-rpc#1616
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DestroyerAce on GitHub (Oct 28, 2022).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/32
It would be nice if there are rich presence buttons that shows link for what song you are playing on spotify or/and youtube
@JakeStanger commented on GitHub (Oct 28, 2022):
Happy to add this. MusicBrainz has info for Spotify/YouTube links so I can pull it from there. If it doesn't exist there though for a particular song, I think I'll have to fall back to not displaying them for now. The alternative would be to search and hope the result comes back correct, which would also require users to add API keys to their config.
@JakeStanger commented on GitHub (Nov 1, 2022):
So I've had a look into this, and there are two big issues I see:
My concern is that it'd be quite a bit of work to add a feature that would be visible a fraction of the time.
The immediate alternative method I see is to directly search YouTube/Spotify using their APIs, but as stated that would require users to obtain their own API keys and add them to the config, which I'm reluctant to add as a requirement and I suspect most people won't bother with. It also adds quite a lot more complexity to the program in general.
If yourself or anybody else has any other ideas, I'm happy to look into them and see if we can add it that way, but I'm going to have to halt this otherwise.
@natto1784 commented on GitHub (Nov 12, 2022):
There is one such library but it does not have the best code unfortunately. I have added a button as an example in my fork here. If you decide to use it, I would also recommend using the musicbrainz_rs crate.
@JakeStanger commented on GitHub (Nov 19, 2022):
Looks like I must have missed that library when I was looking. This solves problem 1 nicely, so we're one step closer. Thanks for finding that!
The reason I'm not using a MusicBrainz library currently is that I can't see much advantage. I only need to perform a handful of basic HTTP requests at the moment and it doesn't feel like enough to warrant another dependency. If the scope of MusicBrainz integration ever expands, I'll definitely migrate over.
@42willow commented on GitHub (Jun 14, 2025):
Another use case for this would be to have a link to your music account profile (e.g. lastfm) which could be configurable and reduces complexity.
@ngoomie commented on GitHub (Mar 22, 2026):
This is what I just came here to request, I'd quite like to have a link to my selfhosted scrobbler
@ReallyWeirdCat commented on GitHub (Mar 24, 2026):
You can now do this with config parameters
button1_text,button1_link,button2_text,button2_link, for static links it should be enough. Though it's also possible to use the dynamic parameters, this is what I do:@fxzzi commented on GitHub (May 17, 2026):
just me or are the buttons borken? i just saw these got added, and I tried to add them to my config below:
and uhh, i'm getting this:
@ReallyWeirdCat commented on GitHub (May 19, 2026):
Strange, works for me on latest release. Tried this exact config, no errors. What were the $artist and $title? My suspicion is that they had some unacceptable special symbols