mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Merge pull request #37 from JimmyAppelt/master
Added AlbumResource Check
This commit is contained in:
commit
cd4eddf288
@ -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