From 7f8f085f42d1efc64491697385701aceba428d74 Mon Sep 17 00:00:00 2001 From: Jimmy Appelt Date: Fri, 18 Sep 2015 02:55:41 +0200 Subject: [PATCH] Added AlbumResource Check --- 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 9e92ded3..355aa422 100644 --- a/SpotifyAPI/Local/Models/Track.cs +++ b/SpotifyAPI/Local/Models/Track.cs @@ -28,7 +28,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")) + if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local") || AlbumResource.Uri.Contains("spotify:album:0000000000000000000000")) return ""; int albumsize = 0;