Added _EXTRA_TRACK when downloading with isrc

This commit is contained in:
RemixDev 2020-09-15 20:13:50 +02:00
parent fb53bd732f
commit 7ad0f2a13a
1 changed files with 3 additions and 3 deletions

View File

@ -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: