This commit is contained in:
Lukas Schulz 2020-12-20 01:23:02 +01:00
parent f1bd69f9c1
commit 981e217250

View file

@ -49,7 +49,7 @@ def get_track():
global artist_name
#artist_name = track['item']['artists'][0]['name']
for i in range(len(track['item']['artists'])):
artist_name +=', ' track['item']['artists'][i]['name']
artist_name +=', ' + track['item']['artists'][i]['name']
#print(track['item']['name'] + ' - ' + track['item']['artists'][0]['name'])
#print('getting image')
image_url = track['item']['album']['images'][0]['url']