yes.
This commit is contained in:
parent
981e217250
commit
c23fada078
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -47,8 +47,8 @@ def get_track():
|
||||||
global song_name
|
global song_name
|
||||||
song_name = track['item']['name']
|
song_name = track['item']['name']
|
||||||
global artist_name
|
global artist_name
|
||||||
#artist_name = track['item']['artists'][0]['name']
|
artist_name = track['item']['artists'][0]['name']
|
||||||
for i in range(len(track['item']['artists'])):
|
for i in range(len(track['item']['artists'])-1):
|
||||||
artist_name +=', ' + track['item']['artists'][i]['name']
|
artist_name +=', ' + track['item']['artists'][i]['name']
|
||||||
#print(track['item']['name'] + ' - ' + track['item']['artists'][0]['name'])
|
#print(track['item']['name'] + ' - ' + track['item']['artists'][0]['name'])
|
||||||
#print('getting image')
|
#print('getting image')
|
||||||
|
|
Loading…
Reference in a new issue