From 430b578bd28ce8536d5778f32b75d6ffcec326b1 Mon Sep 17 00:00:00 2001 From: Peter Schnebel Date: Fri, 1 Feb 2013 15:14:42 +0100 Subject: [PATCH] Use release disambiguation not release-group disambiguation. I found 2 examples why I would prefer the release disambiguation: http://musicbrainz.org/release-group/d3f057b4-7e89-3018-9f84-9835ed9b4732 http://musicbrainz.org/release-group/6792b6d1-4e65-3c3c-9d20-d08aa1dcfc60 I did not find an example where the release-group disambiguation would be important (of course, that doesn't prove anything ;)) --- beets/autotag/mb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index f3fc6bcb4..f6900a40e 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -188,7 +188,7 @@ def album_info(release): info.va = info.artist_id == VARIOUS_ARTISTS_ID info.asin = release.get('asin') info.releasegroup_id = release['release-group']['id'] - info.albumdisambig = release['release-group'].get('disambiguation') + info.albumdisambig = release.get('disambiguation') info.country = release.get('country') info.albumstatus = release.get('status')