From 7ad0f2a13ad278b062f407840d07304ede81ccd7 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 15 Sep 2020 20:13:50 +0200 Subject: [PATCH] Added _EXTRA_TRACK when downloading with isrc --- deemix/app/queuemanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deemix/app/queuemanager.py b/deemix/app/queuemanager.py index e511e72..d2bb5d2 100644 --- a/deemix/app/queuemanager.py +++ b/deemix/app/queuemanager.py @@ -37,9 +37,9 @@ class QueueManager: elif type == "track": if id.startswith("isrc"): try: - isrcTest = dz.get_track(id) - if 'id' in isrcTest and 'title' in isrcTest: - id = isrcTest['id'] + trackAPI = dz.get_track(id) + if 'id' in trackAPI and 'title' in trackAPI: + id = trackAPI['id'] else: return QueueError(url, "Track ISRC is not available on deezer", "ISRCnotOnDeezer") except APIError as e: