Skip to content

Commit

Permalink
Mark LastArtist.MainImage as obsolete
Browse files Browse the repository at this point in the history
- closes user.getTopArtists no longer returns images #166
  • Loading branch information
rikkit committed Jul 2, 2020
1 parent 6b06394 commit 6ab361c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/IF.Lastfm.Core/Objects/LastArtist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace IF.Lastfm.Core.Objects
/// <summary>
/// TODO streamable
/// "streamable": "0"
///
///
/// TODO band members
/// "bandmembers": {
/// "member": [
Expand All @@ -34,7 +34,7 @@ namespace IF.Lastfm.Core.Objects
/// }
/// ]
/// }
///
///
/// TODO context -> similar, rename similar to related
/// </summary>
public class LastArtist : ILastfmObject
Expand All @@ -49,6 +49,8 @@ public class LastArtist : ILastfmObject
public bool OnTour { get; set; }
public IEnumerable<LastTag> Tags { get; set; }
public List<LastArtist> Similar { get; set; }

[Obsolete("As of May 2019 Last.fm no longer returns artist imagery via the API. More info https://www.reddit.com/r/lastfm/comments/bjwcqh/api_announcement_lastfm_support_community/")]
public LastImageSet MainImage { get; set; }
public int? PlayCount { get; set; }
public LastStats Stats { get; set; }
Expand Down

0 comments on commit 6ab361c

Please sign in to comment.