diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 904220685..4afdcd6fe 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -57,6 +57,7 @@ class DiscogsPlugin(BeetsPlugin): 'apisecret': 'plxtUTqoCzwxZpqdPysCwGuBSmZNdZVy', 'tokenfile': 'discogs_token.json', 'source_weight': 0.5, + 'change_va': False, }) self.config['apikey'].redact = True self.config['apisecret'].redact = True @@ -224,6 +225,8 @@ class DiscogsPlugin(BeetsPlugin): albumtype = ', '.join( result.data['formats'][0].get('descriptions', [])) or None va = result.data['artists'][0]['name'].lower() == 'various' + if va and self.config['change_va']: + artist = 'Various Artists' year = result.data['year'] label = result.data['labels'][0]['name'] mediums = len(set(t.medium for t in tracks))