Finished poring quality modal

Fixed download issue
This commit is contained in:
RemixDev 2020-04-16 15:52:07 +02:00
parent 14f910c3d5
commit 7f959defb4
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ def getTrackData(dz, trackAPI_gw, trackAPI = None, albumAPI_gw = None, albumAPI
}
track['album']['genre'] = []
if 'date' in track['album'] and 'date' not in track:
track['date'] = track['album']['date']
if not trackAPI:
trackAPI = dz.get_track(track['id'])
track['bpm'] = trackAPI['bpm']