From bb3b294beb3c46a993dac2b286f0d28cb0d123dd Mon Sep 17 00:00:00 2001 From: David Logie Date: Wed, 5 Sep 2018 17:08:40 +0100 Subject: [PATCH] Address PR comments. --- beets/autotag/hooks.py | 3 ++- beets/autotag/mb.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index 8c144cf0c..d15cba269 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -66,7 +66,8 @@ class AlbumInfo(object): - ``albumstatus``: MusicBrainz release status (Official, etc.) - ``media``: delivery mechanism (Vinyl, etc.) - ``albumdisambig``: MusicBrainz release disambiguation comment - - ``releasegroupdisambig``: MusicBrainz release group disambiguation comment + - ``releasegroupdisambig``: MusicBrainz release group + disambiguation comment. - ``artist_credit``: Release-specific artist name - ``data_source``: The original data source (MusicBrainz, Discogs, etc.) - ``data_url``: The data source release URL. diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index e1cb1164a..4ea56af7f 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -346,6 +346,7 @@ def album_info(release): info.releasegroup_id = release['release-group']['id'] info.albumstatus = release.get('status') + # Get the disambiguation strings at the release and release group level. if release['release-group'].get('disambiguation'): info.releasegroupdisambig = \ release['release-group'].get('disambiguation')