def get_metadata(file_name, client_id, client_secret):
song_name = improve_name(file_name)  <EOL>client_credentials_manager = SpotifyClientCredentials(client_id, client_secret)<EOL>spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager)<EOL>results = spotify.search(song_name, limit=<NUM_LIT:1>)<EOL>results = results['<STR_LIT>']['<STR_LIT>'][<NUM_LIT:0>]  <EOL>album = results['<STR_LIT>']['<STR_LIT:name>']  <EOL>artist = results['<STR_LIT>']['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT:name>']<EOL>song_title = results['<STR_LIT:name>']<EOL>album_art = results['<STR_LIT>']['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT:url>']<EOL>return artist, album, song_title, album_art<EOL>
Tries finding metadata through Spotify