diff --git a/SpotifyAPI/Local/Models/Track.cs b/SpotifyAPI/Local/Models/Track.cs index 888c75d7..9e92ded3 100644 --- a/SpotifyAPI/Local/Models/Track.cs +++ b/SpotifyAPI/Local/Models/Track.cs @@ -28,8 +28,9 @@ namespace SpotifyAPI.Local.Models /// A String, which is the URL to the Albumart public String GetAlbumArtUrl(AlbumArtSize size) { - if (AlbumResource.Uri.Contains("local")) + if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local")) return ""; + int albumsize = 0; switch (size) {