public async Task GetAudioAnalysis() { if (songs == null) { return; } if (songs.Count == 0) { return; } Console.WriteLine("User input song: " + userInputSong); string s; if (userInputSong == null || userInputSong == "") { if (curSongNum < 0) { return; } s = songs[curSongNum].title; } else { s = userInputSong; } Console.WriteLine("Getting audio analysis for " + s); await Spotify.GetAudioAnalysisFromSong(s); }