mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Fix crash when playing form related artist tab
This commit is contained in:
parent
69d2d708c5
commit
14b94aebb5
@ -41,7 +41,7 @@ namespace SpotifyAPI.Local.Models
|
|||||||
/// <returns>A String, which is the URL to the Albumart</returns>
|
/// <returns>A String, which is the URL to the Albumart</returns>
|
||||||
public String GetAlbumArtUrl(AlbumArtSize size)
|
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 "";
|
return "";
|
||||||
|
|
||||||
int albumsize = 0;
|
int albumsize = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user