1# Get track information
2track = spotifyObject.current_user_playing_track()
3print(json.dumps(track, sort_keys=True, indent=4))
4print()
5artist = track['item']['artists'][0]['name']
6track = track['item']['name']
7
8if artist !="":
9 print("Currently playing " + artist + " - " + track)
10