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 ;))
This commit is contained in:
Peter Schnebel 2013-02-01 15:14:42 +01:00
parent 3fec79fee7
commit 430b578bd2

View file

@ -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')