From f63104b82da24ff3f406c53346300bd50788796f Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Mon, 28 Sep 2026 18:22:07 +0200 Subject: refactor: remove dead code across packages Unused modules, functions, constants and client helpers with no caller, the unreachable hub:probe IPC handler, and the CSAM hash matching. Behaviour unchanged; the dispatch golden loses only the two removed message types. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-node/src/meshbay_node/musicbrainz.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'packages/meshbay-node/src/meshbay_node/musicbrainz.py') diff --git a/packages/meshbay-node/src/meshbay_node/musicbrainz.py b/packages/meshbay-node/src/meshbay_node/musicbrainz.py index ce2d233..e3681ea 100644 --- a/packages/meshbay-node/src/meshbay_node/musicbrainz.py +++ b/packages/meshbay-node/src/meshbay_node/musicbrainz.py @@ -183,10 +183,6 @@ class MusicBrainzClient: results = (data or {}).get("releases", []) return _best_match_release(artist, album, results) - async def release_details(self, mbid: str) -> dict | None: - """Full release details, including recordings (tracklist).""" - return await self._get(_BASE_URL + f"release/{mbid}", {"inc": "recordings+artist-credits"}) - async def fetch_cover_art(self, mbid: str) -> bytes | None: """ The release's front cover, or None if Cover Art Archive has nothing -- cgit v1.2.3