mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 05:52:50 +01:00
New api requires client and dict as parameters for Release initialization
This commit is contained in:
parent
659a0862f6
commit
4279ac0b67
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue