Fix crash when playing form related artist tab

This commit is contained in:
Jimmy Appelt 2015-10-03 16:16:07 +02:00
parent 69d2d708c5
commit 14b94aebb5

View File

@ -41,7 +41,7 @@ namespace SpotifyAPI.Local.Models
/// <returns>A String, which is the URL to the Albumart</returns>
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;