LastFMAuthorizedHelpers extension

on

Methods

scrobble({required String track, required String artist, required DateTime startTime, String? album, int? trackNumber, Duration? duration}) Future<void>
Used to add a track-play to a user's profile. Scrobble a track, or a batch of tracks. It is important to not use the corrections returned by the now playing service as input for the scrobble request, unless they have been explicitly approved by the user.
updateNowPlaying({required String track, required String artist, String? album, String? albumArtist, int? trackNumber, Duration? duration}) Future<void>
Used to notify Last.fm that a user has started listening to a track.