- Renamed lastfm.readRequest/writeRequest to read/write.
- Replace response reader with LastFmRequest.
- Handles response errors (timeouts, etc) when communicating with Last.fm
- Fixed bug where unexpected data in LastFmInfo would crash application.
- Fixed bug where RecentTrackStream was working with null tracks.
- Added session.isAuthorised()
- Added slightly more descriptive errors to RecentTracksParser.
-
LastFmSession
is no longer responsible for sending update. Uselastfm.update()
instead.lastfm.update("nowplaying", session, { track: track });
- Access getInfo API calls through
lastfm.info()
. See README for example.