JakeStanger / mpd-discord-rpc

Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence.
https://crates.io/crates/mpd-discord-rpc
MIT License
91 stars 18 forks source link

feat: display album art using musicbrainz #26

Closed JakeStanger closed 2 years ago

JakeStanger commented 2 years ago

Fetches the current album art from MusicBrainz, using the MPD MusicBrainz tags by default, otherwise by doing an API search.

The API search results are cached to reduce requests. This currently requires quite a bit of cloning the IDs, but this should be okay considering we're cloning a few bytes of data every few seconds.

Resolves #25