Skip to content

Commit cd4eddf

Browse files
author
Jonas Dellinger
committed
Merge pull request #37 from JimmyAppelt/master
Added AlbumResource Check
2 parents d8e3238 + 7f8f085 commit cd4eddf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SpotifyAPI/Local/Models/Track.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Track
2828
/// <returns>A String, which is the URL to the Albumart</returns>
2929
public String GetAlbumArtUrl(AlbumArtSize size)
3030
{
31-
if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local"))
31+
if (AlbumResource.Uri == null || AlbumResource.Uri.Contains("local") || AlbumResource.Uri.Contains("spotify:album:0000000000000000000000"))
3232
return "";
3333

3434
int albumsize = 0;

0 commit comments

Comments
 (0)