nekowinston / mpd-rich-presence

Discord Rich Presence for MPD
MIT License
10 stars 3 forks source link

Make icon customizable #4

Closed madhavarun closed 5 months ago

madhavarun commented 1 year ago

Feature request: add a config option to choose custom image for rpc logo

nathanielevan commented 11 months ago

This should now be possible with #7 by using your own Discord App ID and uploading your own images to the Discord App Dashboard, but do you want to define your own asset names as well (instead of using logo and nowplaying)?

scshot-281123-223307

nekowinston commented 11 months ago

Just FYI: https://github.com/nekowinston/mpd-rich-presence/blob/cfc78627eba04d946cac226bfc2ce69c2f8eb618/main.go#L352-L353 We could also pass in arbitrary URLs here, they will show up in Discord; this is how things like Neovim Rich Presence work: https://github.com/nekowinston/neovim.drv/blob/96d46ac5979cc762aa49716a957326f450711e7d/plugins/presence.lua#L52-L84

nathanielevan commented 11 months ago

Hmm, if we pass in a URL, I imagine we'll have to cache it with ttlcache as well? How would we change the config to fit this feature?

nekowinston commented 5 months ago

Closing this as not planned since I'm archiving this repo.