Merge branch 'master' of blocks/deemix into master

This commit is contained in:
RemixDev 2020-06-01 13:39:43 +00:00 committed by Gogs
commit 7a7d4dd9ac
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ def getTrackData(dz, trackAPI_gw, trackAPI=None, albumAPI_gw=None, albumAPI=None
if not albumAPI_gw: if not albumAPI_gw:
logger.info(f"[{track['mainArtist']['name']} - {track['title']}] Getting more album infos") logger.info(f"[{track['mainArtist']['name']} - {track['title']}] Getting more album infos")
albumAPI_gw = dz.get_album_gw(track['album']['id']) albumAPI_gw = dz.get_album_gw(track['album']['id'])
track['album']['title'] = get_album_gw['ALB_TITLE'] track['album']['title'] = albumAPI_gw['ALB_TITLE']
track['album']['mainArtist'] = { track['album']['mainArtist'] = {
'id': albumAPI_gw['ART_ID'], 'id': albumAPI_gw['ART_ID'],
'name': albumAPI_gw['ART_NAME'] 'name': albumAPI_gw['ART_NAME']