[PR #26] [MERGED] feat: display album art using musicbrainz #327

Closed
opened 2026-05-22 22:58:36 +01:00 by JakeStanger · 0 comments
Owner

📋 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: masterHead: feat/album-art


📝 Commits (1)

  • 344e99f feat: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/mpd-discord-rpc/pull/26 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 6/16/2022 **Status:** ✅ Merged **Merged:** 6/16/2022 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/album-art` --- ### 📝 Commits (1) - [`344e99f`](https://github.com/JakeStanger/mpd-discord-rpc/commit/344e99fdb9c382c89d590ffb170522e5f58cb5b1) feat: display album art using musicbrainz ### 📊 Changes **5 files changed** (+956 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+824 -3) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+4 -2) ➕ `src/album_art.rs` (+104 -0) 📝 `src/main.rs` (+23 -10) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 22:58:36 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#327
No description provided.