From 14b94aebb5eba2837b504a8adfbffd9b1471aad8 Mon Sep 17 00:00:00 2001 From: Jimmy Appelt Date: Sat, 3 Oct 2015 16:16:07 +0200 Subject: [PATCH] Fix crash when playing form related artist tab --- SpotifyAPI/Local/Models/Track.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpotifyAPI/Local/Models/Track.cs b/SpotifyAPI/Local/Models/Track.cs index 7d0c38c1..cda2dc3e 100644 --- a/SpotifyAPI/Local/Models/Track.cs +++ b/SpotifyAPI/Local/Models/Track.cs @@ -41,7 +41,7 @@ namespace SpotifyAPI.Local.Models /// A String, which is the URL to the Albumart public String GetAlbumArtUrl(AlbumArtSize size) { - if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local") || AlbumResource.Uri.Contains("spotify:album:0000000000000000000000")) + if (AlbumResource.Uri == null || !AlbumResource.Uri.Contains("spotify:album:") || AlbumResource.Uri.Contains("spotify:album:0000000000000000000000")) return ""; int albumsize = 0;