static void Main(string[] args) { File.Delete("data.json"); string name = GetPlaylistname(); playlistUrl = GetPlaylistUrl(); CreatePythonConnection(pathToPython, playlistUrl); AssignArrays("data.json"); File.Delete("data.json"); Spotify.FinishPlaylist(name, songs); if (unsureSongs != null) { Spotify.AddUnsureSongs(unsureSongs); } if (Spotify.notFoundSongs.Count != 0) { Console.WriteLine("Songs that couldn't be added:\n"); foreach (var item in Spotify.notFoundSongs) { Console.WriteLine(item); } } System.Console.WriteLine($"Total Songs: {songs.Length + (unsureSongs != null ? unsureSongs.Length : 0)}"); System.Console.WriteLine($"notFoundSongs Songs: {Spotify.notFoundSongs.Count}"); }