mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 14:56:02 +01:00
Seems like something broken in new version of discogs_client
This commit is contained in:
parent
9a80179059
commit
f8af931caa
1 changed files with 1 additions and 1 deletions
|
|
@ -109,9 +109,9 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
def get_album_info(self, result):
|
||||
"""Returns an AlbumInfo object for a discogs Release object.
|
||||
"""
|
||||
artist, artist_id = self.get_artist([a.data for a in result.artists])
|
||||
album = re.sub(r' +', ' ', result.title)
|
||||
album_id = result.data['id']
|
||||
artist, artist_id = self.get_artist([a.data for a in result.artists])
|
||||
# Use `.data` to access the tracklist directly instead of the
|
||||
# convenient `.tracklist` property, which will strip out useful artist
|
||||
# information and leave us with skeleton `Artist` objects that will
|
||||
|
|
|
|||
Loading…
Reference in a new issue