mirror of
https://github.com/JakeStanger/mpd-discord-rpc.git
synced 2026-07-11 22:15:29 +01:00
[PR #26] [MERGED] feat: display album art using musicbrainz #60
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#60
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?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/26
Author: @JakeStanger
Created: 6/16/2022
Status: ✅ Merged
Merged: 6/16/2022
Merged by: @JakeStanger
Base:
master← Head:feat/album-art📝 Commits (1)
344e99ffeat: display album art using musicbrainz📊 Changes
5 files changed (+956 additions, -15 deletions)
View changed files
📝
Cargo.lock(+824 -3)📝
Cargo.toml(+1 -0)📝
README.md(+4 -2)➕
src/album_art.rs(+104 -0)📝
src/main.rs(+23 -10)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.