From f8af931caa48062299370b03df2059f81ebe110a Mon Sep 17 00:00:00 2001 From: Andrii Kohut Date: Sun, 24 Aug 2014 17:34:31 +0300 Subject: [PATCH] Seems like something broken in new version of discogs_client --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 868aa076f..0301cb67e 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -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