diff --git a/SpotifyAPI/Local/Models/Track.cs b/SpotifyAPI/Local/Models/Track.cs old mode 100644 new mode 100755 index f8f03206f..10b1f3bfd --- a/SpotifyAPI/Local/Models/Track.cs +++ b/SpotifyAPI/Local/Models/Track.cs @@ -70,12 +70,20 @@ public string GetAlbumArtUrl(AlbumArtSize size) raw = wc.DownloadString("http://open.spotify.com/album/" + AlbumResource.Uri.Split(new[] { ":" }, StringSplitOptions.None)[2]); } raw = raw.Replace("\t", ""); + + // < meta property = "og:image" content = "http://o.scdn.co/cover/12b318ffe0e4c92f9b4e1486e4726a57e6437ca7" > + // Spotify changed the response so I am now getting the substring from the first line that parses out the above tag. string[] lines = raw.Split(new[] { "\n" }, StringSplitOptions.None); + string startString = ""; foreach (string line in lines) { - if (line.Trim().StartsWith("", ""); } }