mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 23:03:26 +01:00
discogs: extra space in ambiguous artists (#289)
This commit is contained in:
parent
d877f5e3e8
commit
72f0505744
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
if artist['join']:
|
||||
bits.append(artist['join'])
|
||||
# Remove discogs artist disambiguation number if needed.
|
||||
bits = [re.sub(r'\(\d+\)$', '', bit) for bit in bits]
|
||||
bits = [re.sub(r' \(\d+\)$', '', bit) for bit in bits]
|
||||
artist = ' '.join(bits).replace(' ,', ',') or None
|
||||
return artist, artist_id
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue