def albums_for_id(album_id):
    candidates = [album_for_mbid(album_id)]
    plugin_albums = plugins.album_for_id(album_id)
    for a in plugin_albums:
        plugins.send(u'albuminfo_received', info=a)
    candidates.extend(plugin_albums)
    return filter(None, candidates)
Get a list of albums for an ID.
dataset/ETHPy150Open beetbox/beets/beets/autotag/hooks.py/albums_for_id