mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
Added AlbumResource Check
This commit is contained in:
parent
d8e3238f09
commit
7f8f085f42
@ -28,7 +28,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"))
|
||||
if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local") || AlbumResource.Uri.Contains("spotify:album:0000000000000000000000"))
|
||||
return "";
|
||||
|
||||
int albumsize = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user