v0.2
In this release:
New features
- LastfmClient class provides a more consistent way to use the SDK. See the updated documentation in the readme for examples. #64
- Sending multiple scrobbles is now supported using the new Scrobbler classes, see the Scrobbler documentation for more details. #61
- Automatic caching of scrobbles in the event of network failure: use the SQLiteScrobbler in the
Inflatable.Lastfm.SQLite
NuGet package, or provide your own implementation using ScrobblerBase. More info is in the documentation.
Fixes and improvements
- *Api classes now have a HttpClient parameter on their constructor, which will be used for commands. This means reduced resource usage and extra configuration options (via custom HttpResponseHandlers). #41
- *Api classes are now disposable #66
- Information about ignored scrobbles is now provided on the response from Scrobbler classes #59
- Fix overlapping members of LastResponseStatus enum
Deprecated
- TrackApi.ScrobbleAsync() is marked as obsolete, in favour of the new Scrobbler classes, and will be removed in v0.3.
Breaking changes
- Several methods on *Api classes have been renamed to match the Last.fm REST api - e.g.
AlbumApi.GetTopTagsForAlbumAsync()
is now calledAlbumApi.GetTopTagsAsync()
to match the api methodalbum.getTopTags
. - The
Scrobble
class has been moved to theIF.Lastfm.Core.Objects
namespace