Fixed track download through ISRC
This commit is contained in:
parent
d265514ba0
commit
fc0d781219
|
@ -73,7 +73,7 @@ def generateQueueItem(dz, sp, url, settings, bitrate=None, albumAPI=None, interf
|
||||||
if id.startswith("isrc"):
|
if id.startswith("isrc"):
|
||||||
try:
|
try:
|
||||||
trackAPI = dz.get_track(id)
|
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']
|
id = trackAPI['id']
|
||||||
else:
|
else:
|
||||||
result['error'] = "Track ISRC is not available on deezer"
|
result['error'] = "Track ISRC is not available on deezer"
|
||||||
|
|
Loading…
Reference in New Issue