public LibraryGetTracksCommandTests() { _command = new LibraryGetTracksCommand(MAuth.Object, "rj", "", "", DateTime.MinValue) { Count = 1 }; }
public async Task <PageResponse <LastTrack> > GetTracks(string username, string artist, string album, DateTimeOffset since, int pagenumber = 0, int count = LastFm.DefaultPageLength) { var command = new LibraryGetTracksCommand(Auth, username, artist, album, since) { Page = pagenumber, Count = count }; return(await command.ExecuteAsync()); }