From 23e46315e3a957f2c9ca969535e9455780045ccc Mon Sep 17 00:00:00 2001 From: Henry Oberholtzer Date: Sat, 20 Sep 2025 01:52:53 +0200 Subject: [PATCH] Remove Discogs Disambiguation stripping from metadata_plugins --- beets/metadata_plugins.py | 2 -- docs/changelog.rst | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/beets/metadata_plugins.py b/beets/metadata_plugins.py index 6a75d0f79..0372790af 100644 --- a/beets/metadata_plugins.py +++ b/beets/metadata_plugins.py @@ -298,8 +298,6 @@ class MetadataSourcePlugin(BeetsPlugin, metaclass=abc.ABCMeta): if not artist_id: artist_id = artist[id_key] name = artist[name_key] - # Strip disambiguation number. - name = re.sub(r" \(\d+\)$", "", name) # Move articles to the front. name = re.sub(r"^(.*?), (a|an|the)$", r"\2 \1", name, flags=re.I) # Use a join keyword if requested and available. diff --git a/docs/changelog.rst b/docs/changelog.rst index 8a35569c9..4ff7b7088 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -22,7 +22,7 @@ Bug fixes: For packagers: Other changes: - +- :class:`beets.metadata_plugin.MetadataSourcePlugin`: Remove discogs specific disambiguation stripping - :doc:`plugins/index`: Clarify that musicbrainz must be mentioned if plugin list modified :bug:`6020` - :doc:`/faq`: Add check for musicbrainz plugin if auto-tagger can't find a