From 4279ac0b679e2a0b75294cd6733ed648047d6c8d Mon Sep 17 00:00:00 2001 From: Andrii Kohut Date: Mon, 25 Aug 2014 20:22:47 +0300 Subject: [PATCH] New api requires client and dict as parameters for Release initialization --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 75fe536c4..949888eff 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -76,7 +76,7 @@ class DiscogsPlugin(BeetsPlugin): album_id) if not match: return None - result = Release(match.group(2)) + result = Release(self.discogs_client, {'id': int(match.group(2))}) # Try to obtain title to verify that we indeed have a valid Release try: getattr(result, 'title')