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

View file

@ -47,8 +47,8 @@ def get_track():
global song_name
song_name = track['item']['name']
global artist_name
#artist_name = track['item']['artists'][0]['name']
for i in range(len(track['item']['artists'])):
artist_name = track['item']['artists'][0]['name']
for i in range(len(track['item']['artists'])-1):
artist_name +=', ' + track['item']['artists'][i]['name']
#print(track['item']['name'] + ' - ' + track['item']['artists'][0]['name'])
#print('getting image')