From d62ad11de9edeb15ea59d2c5a1a27e0fe970cd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 27 Nov 2020 02:14:40 +0100 Subject: [PATCH] releases still dont have title --- src/resources/apiinteractionresource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/apiinteractionresource.py b/src/resources/apiinteractionresource.py index 15a7b45..b046627 100644 --- a/src/resources/apiinteractionresource.py +++ b/src/resources/apiinteractionresource.py @@ -73,7 +73,7 @@ class APIInteractionResource(UserStoreResource): itemid, 'release', album=retdata.get('album'), artist=retdata.get('artist')) retdata['spotify_id'], _, _ = \ - self.queryspotifyinfo('release', title=retdata['title']) + self.queryspotifyinfo('release', album=currrelease['title']) return retdata def getartistinfo(self, itemid: str) -> dict: