def get_track_id(anal_name):
    return util.get_file_base(anal_name)
Example #2
0
def get_analysis(mp3path):
    song_id = upload_and_get_echonest_id(mp3path)
    profile = get_profile(song_id)
    mp3name = util.get_file_base(mp3path)
    return song_id, get_analysis_from_profile(profile, mp3name)