Find album art by MusicBrainz ID (SCR-6)
CI / lint (push) Successful in 16s
CI / validate-monitoring (push) Successful in 21s
CI / federation-interop (push) Successful in 1m20s
CI / test (push) Successful in 5m50s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 9s

Corrections accept a release MBID as well as a release-group MBID, and the
worker uses a scrobble's recording MBID to find the release-group before falling
back to the text search. Counts matched/missed recording lookups.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-06 23:37:54 +01:00
1 parent ad383b602e
commit 2c4c42a42b
9 files changed
+250 -28

No files matched your search

+1
View File
@@ -205,6 +205,7 @@ class UserAlbumArt(db.Model):
search_artist: Mapped[str | None] = mapped_column(Text) # correction inputs
search_album: Mapped[str | None] = mapped_column(Text)
release_group_mbid: Mapped[str | None] = mapped_column(String(36))
release_mbid: Mapped[str | None] = mapped_column(String(36)) # alternative to the group ID
content_type: Mapped[str | None] = mapped_column(String(32)) # set iff status == "found"
error_code: Mapped[str | None] = mapped_column(String(64)) # set iff status == "error"
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), default=utcnow)