From fc0d7812199093ff6ef8a2250cc658ee7b19e9a6 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Thu, 23 Jul 2020 15:10:18 +0200 Subject: [PATCH] Fixed track download through ISRC --- deemix/app/queuemanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/queuemanager.py b/deemix/app/queuemanager.py index c9619d6..3b1b15c 100644 --- a/deemix/app/queuemanager.py +++ b/deemix/app/queuemanager.py @@ -73,7 +73,7 @@ def generateQueueItem(dz, sp, url, settings, bitrate=None, albumAPI=None, interf if id.startswith("isrc"): try: trackAPI = dz.get_track(id) - if 'id' in dz_track and 'title' in dz_track: + if 'id' in trackAPI and 'title' in trackAPI: id = trackAPI['id'] else: result['error'] = "Track ISRC is not available on deezer"